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
- Smartsheet Customer Resources
- 62.2K Get Help
- 360 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!