Formula to display next/upcoming date from a list
Hello, I'm looking to have a formula to display the next/upcoming date in the list. The formula is on another sheet (Sheet = "Helper Calculations"), so I need to reference another sheet (the one in the table below - Sheet = "Holiday Dates") within the formula. On this sheet, I can confirm the Date column is a Date type.
I was thinking it might look like this (below), but it returns #UNPARSEABLE.
=MIN(COLLECT({Date}@row, {Date}@row, @cell > TODAY()))
To round things out, I would like the formula to output the 'Holiday Name', not just the date.
Any help is greatly appreciated!
Answers
-
Remove the @row references from your {Cross sheet references}.
[Cross Sheet Reference}
@row -
Thanks Paul. When I removed, I still get a response of '#INVALID COLUMN VALUE'.
Any other ideas?
Appreciate your support!
-
Make sure you are putting the formula into a date type column.
-
Even if I want the eventual output from this formula to be the corresponding 'Holiday Name'?
-
If you are outputting text then it would go into a text/number column, but your MIN/COLLECT is outputting dates which have to go into a date type column.
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
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!