Formula to get most recent status for a particular client
I have two sheets:
History Sheet
For collecting status of various items for various clients via forms. All clients responses are stored in a single sheet. Each response is a row.
Summary Sheet
For displaying only key metrics for all clients. Each client is a row. The cells in question would have a formula that finds the most recent status for that category, for that date.
So: Client = Client, Metric = Metric, Date = MAX
I've learned how to use INDEX/MATCH from some other similar posts here, and I have the below formula working as intended, but it doesn't check for the client. I've been trying for a bit to figure out how to implement that, but that's where I'm stuck. It seems my answer may be MAX(COLLECT( within the MATCH function, but I can't get my head around it.
=INDEX({History - Client Satisfaction COL}, MATCH(MAX({History - DateCreated COL}), {History - DateCreated COL}))
Thanks!
Best Answer
-
I figured this out, the below formula provides the behavior I'm looking for:
=INDEX({History - Client Satisfaction COL}, MATCH(MAX(COLLECT({History - DateCreated COL}, {History - Client COL}, Client@row)), {History - DateCreated COL}))
Answers
-
I figured this out, the below formula provides the behavior I'm looking for:
=INDEX({History - Client Satisfaction COL}, MATCH(MAX(COLLECT({History - DateCreated COL}, {History - Client COL}, Client@row)), {History - DateCreated COL}))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!