#INVALID COLUMN VALUE Error with Max() Function
Hi All,
I'm was trying to use the Max() function to grab the latest date in a supporting sheet. From reading it looks like this is a valid use of the function. The sheet being referenced is set as a date field in properties.
I'm basically building a small sheet to feed the latest daily balances on some company bank accounts for the Finance team to use. Originally I tried building a report with the filter feature set to "In the Last (days)." However that didn't work too well on Mondays since the last entry would be a Friday (weekend no posting). So my second idea was to build a sheet that would pull the values I needed using the Max function to grab the latest date entry. However, as you can see below I'm getting an error message. Any ideas why I'm getting this error message or an alternative solution?
Figure 1 - Reference Sheet
Figure 2 - Error Message
Best Answer
-
Hi @Michael Lukson ,
=MAX(date:date) or MAX({insert range name}) if using am external reference will return the most recent date. Your date and primary columns need to be set to a date property.
If you need to add a criteria you'd use a MAX(COLLECT({date range}, criteria range, criteria)) formula.
Help?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Answers
-
Hi @Michael Lukson ,
=MAX(date:date) or MAX({insert range name}) if using am external reference will return the most recent date. Your date and primary columns need to be set to a date property.
If you need to add a criteria you'd use a MAX(COLLECT({date range}, criteria range, criteria)) formula.
Help?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.8K Get Help
- 406 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives