98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » Match Index function: Result seems to be right, but displays err
Match Index function: Result seems to be right, but displays err
Resolved · Low Priority · Version 2016
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
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Turn off AutoComplete in ExcelYou may have noticed when typing into your spreadsheets that if you start to enter labels that begin with the same letters as a label that has been previously entered in the same spreadsheet, Excel will try and automatically complete the text for you. This feature is called AutoComplete. |