Return a value based on the 2nd most recent update for a specific Project ID
I am trying to return a status based on the 2nd most recent update for a specific Project.
This is the formula I currently have: =JOIN(COLLECT{Status}, {Row ID}, [Row ID]@row, {Modified Date}, LARGE({Modified Date},2)))
This formula, of course, is pulling the 2nd to most recent modified date for the entire list, regardless of the Row ID. How do I limit it to only pulling the 2nd to most recent modified date for a specific Row ID?
Thank you!
Answers
-
We can use the COLLECT function twice in this instance - once to find the Status based on your criteria, and then a second time to find the Modified Date specific to that ID.
Try something like this:
=JOIN(COLLECT({Status}, {Row ID}, [Row ID]@row, {Modified Date}, LARGE(COLLECT({Modified Date}, {Row ID}, [Row ID]@row), 2)))
Let me know if this makes sense and works for you!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 456 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
Check out the Formula Handbook template!