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
- Customer Resources
- 66.1K Get Help
- 430 Global Discussions
- 149 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 154 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!