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
- 66.1K Get Help
- 430 Global Discussions
- 149 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 154 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!