Tsetsko it appears that the focus of your question is how INDEX - MATCH works and how can it be applied to this problem.
Here is one way to apply INDEX - MATCH to this problem. It is the simplest way I could think of. This formula must be array entered.
If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
How does it work?
If you are not familiar with them there are two tools in Excel which are good for analyzing, trouble shooting and self instruction. They are the F9 function key (in upper level of the keyboard) and the 'Evaluate Formula' feature under the FORMULAS ribbon also know as Fx.
Using the Fx feature:
With the formula cell active click the 'Evaluate Formula' and click 'Evaluate' repeatedly. With each click Excel shows step by step how the formula is calculated.
Using the F9 function key:
Select just A2:F10=I5 in the formula bar. Press F9 and see an array of TRUE/FALSE. Select MATCH(A1:F1,A1:F1,0) and press F9. You will see {1,2,3,4,5,6}. IF executes MATCH conditional upon A2:F10=I5 being TRUE. The null string "" is optional. I used it to make results of the next F9 step clearer in the formula bar. If you select IF(A2:F10=I5,MATCH(A1:F1,A1:F1,0),"") and press F9 you should see
{"","","","","","";"","","","","","";"","","","","","";"","","","","",6;"","","","","","";"","","","","","";"","","","","","";"","","","","","";"","","","","",""}.
MIN returns the 6 and passes it to INDEX whose first argument is the range of names. INDEX returns the 6th name in that range ... Ivan.
Did this help?
By the way, check the other formulas. INDEX - MATCH might not be your preferred approach to this problem.
Bookmarks