Sheet Summary formula to pull value of cell based on latest date
Hello Community -
I've scoured the forum and can't find a solution for my particular situation. I have a sheet where I want a summary field to pull in the value in the CL Readmit VAR column based on the most recent date in the Modified column. The sheet will continue to populate rows from a form so I need the summary field to grab the latest data.
Best Answer
-
Try this:
=INDEX(COLLECT([CL Readmit VAR]:[CL Readmit VAR], Modified:Modified, MAX(Modified:Modified)), 1)
Answers
-
Try this:
=INDEX(COLLECT([CL Readmit VAR]:[CL Readmit VAR], Modified:Modified, MAX(Modified:Modified)), 1)
-
One problem I foresee which might happen is if you have a form submission on the same day it's going to grab the first one and not the 2nd one. It's evaluating the date not the date and time, I think.
-
Actually, I think it does look at the time as well. I just tested it and it looks to be doing it right.
-
Brilliant, sir! Thank you.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!