maybe any of these array formulas:
=IFERROR(INDEX(D3:D$10,MATCH(A2&B2,A3:A$10&B3:B$10,0)),"")
or:
Formula:
=IFERROR(INDEX($D$2:$D$10,SMALL(IF($A$2:$A$10=A2,IF($B$2:$B$10=B2,ROW($D$2:$D$10))),COUNTIFS(A$2:A2,A2,B$2:B2,B2)+1)-ROW($A$2)+1),"")
...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
Bookmarks