Luis has attended:
Excel Advanced course
Excel Advanced - Formulas & Functions course
Match Index function: Result seems to be right, but displays err
Good morning,
I am using the following formula:
INDEX(Timetable[[Authority]:[Order LaId]],MATCH(1,(Timetable[Authority]=$B5)*(MONTH(Timetable[Csize Meeting])=MONTH($C$1))*(YEAR(Timetable[Csize Meeting])=YEAR($C$1)),0),1)
When I check the formula with the F9 key, this is the result:
INDEX(Timetable[[Authority]:[Order LaId]],54,1)
In fact, it is possible to identify the true argument in the lookup array:
INDEX(Timetable[[Authority]:[Order LaId]],MATCH(1,{0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0},0),1)
(The true argument (1) is located on the second row of 0's, just below the letter "M" for "Match")
However, Excel is not recognising the outcome of the Match function, and the result is #N/A. This is not the case, since the argument is identified by the Match function.
Do you have any ideas why is Excel not recognising the Match result?
Thank you,
Luis