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
- Smartsheet Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 463 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 40 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!