I'm building a "Top 4 Critical/High Priority" tracker on a dashboard sheet that pulls overdue items from a RAID Log using INDEX/MATCH/SMALL/COLLECT. Here's my current formula:
=IFERROR(INDEX({Task Title Ref}, MATCH(SMALL(COLLECT({Due Date ref}, {Due Date ref}, <=TODAY(), {Priority Ref}, OR(@cell = "2-High", @cell = "1-Critical")), Rank@row ), {Due Date ref}, 0)), "")
This works fine when all due dates are unique — but when two items share the same due date, both Rank rows return the same task title because MATCH always finds the first occurrence.
**What I've tried:**
1. Creating a helper column with `=[Due Date]@row + ([Row ID]@row / 1000000)` to make dates unique — getting `#INVALID COLUMN VALUE` regardless of whether the column type is Date or Text/Number
2. Using RAID ID (text, e.g. "RAID-002") inside SMALL — getting `#INVALID VALUE` because SMALL doesn't work on text
3. Using Row ID inside SMALL/COLLECT to bypass date ranking entirely — this seems promising but wanted to check if there's a cleaner approach
Thanks in advance!