Closest Date in the Past
LJK
✭✭
Hi,
I am currently building a ranking that I will display in a Dashboard. I need to grab data from another sheet that is the closest in the past to keep it up to date.
Any suggestions for a formula?
Tags:
Best Answer
-
Try something like this...
=MAX(COLLECT({Other Sheet Date Column}, {Other Sheet Date Column}, @cell < TODAY()))
Answers
-
Are you trying to fetch a single row from the other sheet?
By "closest in the past" do you mean the most recent entry as in the date that is closest to the dynamic "today"?
Yanis.
-
Thanks for your support in advance!
I would like to have it dynamic from today.
-
Try something like this...
=MAX(COLLECT({Other Sheet Date Column}, {Other Sheet Date Column}, @cell < TODAY()))
-
Thank you!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!