match index function result

Forum 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

resolvedResolved · 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

RE: Match Index function: Result seems to be right, but displays

Just a minor correction:

The true argument (1) can be found on the second row, below the letter "b" for "Timetable".


 

Excel tip:

Turn off AutoComplete in Excel

You 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.

If you find this feature more annoying than useful, you can turn it off by:

1. Going to Tools - Options.

2. Select the Edit tab.

3. Remove the tick from next to the "Enable AutoComplete for cell values" option.

4. Click OK.

View all Excel hints and tips


Server loaded in 0.1 secs.