Index function but when cell is blank, then show latest item
Hello all,
I am working on a project that when a form is submitted, the index formula pulls the data from the highest row ID so it can be shown on a dashboard metric. However, if a form is submitted and parts of the form are left blank, I want the index to pull the latest data that is not blank. Column "Origin Station" is an example of an item in the form left blank. I would want the index to show the latest item that is not blank which in this case would be "LGA".
Attached is a screenshot for reference of current formula and sheet.
Can someone help in making a formula that would work? Thank you!
Answers
-
Try a MAX/COLLECT instead of just a MAX.
MAX(COLLECT([Row ID]:[Row ID], [Destination Station]:[Destination Station], @cell <> ""))
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
- 84 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
Check out the Formula Handbook template!