MAX(COLLECT using INDEX(MATCH
Sam Lugiano
✭✭✭✭✭
Hi,
For the attached sheet excerpt I would like to get the latest Date of Visit that has a checkmark for a Re-Exam and matched to the Barcode @row. I have tried multiple MAX(COLLECT AND INDEX(MATCH variations with no success. Any help will be much appreciated.
Thanks,
Sam
Best Answers
-
Hey @SLUGGO
Try this
=INDEX(MAX(COLLECT([DATE OF VISIT]:[DATE OF VISIT], [DATE OF VISIT]:[DATE OF VISIT], ISDATE(@cell), BARCODE:BARCODE, BARCODE@row, [RE-EXAM]:[RE-EXAM], 1)), 1)
-
Works great! Thank you.
Answers
-
Hey @SLUGGO
Try this
=INDEX(MAX(COLLECT([DATE OF VISIT]:[DATE OF VISIT], [DATE OF VISIT]:[DATE OF VISIT], ISDATE(@cell), BARCODE:BARCODE, BARCODE@row, [RE-EXAM]:[RE-EXAM], 1)), 1)
-
Works great! Thank you.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 85 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 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!