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
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!