Max Value of a column by Today's Date
New to Smartsheet and Functions, so help would be greatly appreciated.
I am trying to create a sheet summary function that collects the max temperature of the data from a column for todays date. New data added each day. Here is what I have tried:
=INDEX(COLLECT(Temperature:Temperature, Date:Date, MAX(Date:Date), Temperature:Temperature, MAX(Temperature:Temperature)), 1)
which returns #INVALID VALUE
I also alternatively tried:
=INDEX(COLLECT(Temperature:Temperature, Temperature:Temperature,MAX(Temperature:Temperature, Date:Date, TODAY())), 1)
which returns #INVALID DATA TYPE
Help please!
Thank you,
Bob
Best Answer
-
Hi Bob, Try:
=MAX(COLLECT([Temperature]:[Temperature], [date]:[date], today()))
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Answers
-
Hi Bob, Try:
=MAX(COLLECT([Temperature]:[Temperature], [date]:[date], today()))
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
That worked. Thank you very much. I guess I was making it more complicated than needed.
-
No worries. I've spent decades making formulas more complicated than they need to be. Glad it worked for you. Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!