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
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!