INDEX MATCH is overridden by new entries
Hello,
I'm trying to create a formula that will identify the [Unit] in Sheet 1 that have confirmed [Today Entry] from Sheet 2. The issue is when a new entry comes through Sheet 2 where [Unit] matches it will override the previous INDEX MATCH action, removing the entry from the list of [Today Entry] in Sheet 1 even though they still technically meet the [Today Entry] criteria (which is time based). Any way I can ensure [Today Entry] remains valid until that checkmark disappears?
Sheet 1
Sheet 2
Answers
-
If you'll only ever have 1 matching Unit that also has the Today Entry box checked, then you can use the Collect() function to match the unit and that the Today Entry is check. The wrap the Collect() function with the Index and use an index value of 1.
=Index(Collect({Your criteria}), 1)
That will then only pull in the matching unit that also has the Today Entry box checked.
Darren Mullen, join the Smartsheet Guru Elite
Get my 7 Smartsheet tips here
Author of: Smartsheet Architecture Solutions
-
I tried this formula however whenever a specific unit met the matching criteria for both [Today Entry] and either [Tomorrow Entry] or [Yesterday Entry], the most recent entry that matches one of those columns takes precedence. For instance, Unit 1 met [Today Entry] criteria (using this formula:
=IFERROR(INDEX(COLLECT({Nursing Discharge Tracker_Today Entry Range}, {Nursing Discharge Tracker_Unit Range}, Unit@row), 1), "")
..but then later in the day another submission comes through which meets the [Tomorrow Entry] criteria which uses an identical formula that's adjusted for the appropriate columns), which eliminated the checkmark in the [Today Entry] column.
Is there not a way for these separate columns to be honored simultaneously?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 463 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!