Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

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

ResolvedVersion 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:

Apply currency format quickly in Excel

To quickly apply the currency format to cell in your spreadsheet, select (highlight) the cells you wish to apply currency format to, then use Ctrl + Shift + $

This will apply a pounds symbol even though the $ key is pressed.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.13 secs.