For a list entered into D2:D20, with D1 as the column heading
These ARRAY FORMULAS must be committed with CTRL+SHIFT+ENTER,
instead of just ENTER:
For the first item...
D2: =INDEX(D2:D20,MATCH(0,-ISBLANK(D2:D20),0))
For all other list items...
D3: =IF(COUNT(MATCH(D$2:D$20,E$2:E2,0))<COUNT(1/(D$2:D$20<>"")),
INDEX(D$2:D$20,MATCH(0,(D$2:D$20<>"")-ISNA(MATCH(D$2:D$20,E$2:E2,0)),0)),"")
Copy D3 into D4 and down through as many cells as you need to cover all possible unique items
Is that something you can work with?
Bookmarks