Index Match Error with date range

SAXON10

Board Regular
Joined
Jun 1, 2017
Messages
109
Good afternoon,

I am trying to apply the following formula in B17=IFERROR(INDEX($B$2:$F$11,MATCH($B16,$B$1:$F$1,0),MATCH($A17,$A$2:$A$11,0)),"") but i got error.

How to fix the error. Please help me.

Data range: A1:F11

DATA;
DATEUKUSEUASIACHINA
01/01/2018101112114
02/01/20183435362538
03/01/20185859604962
04/01/20188283847386
05/01/201810610710897110
06/01/2018130131132121134
07/01/2018154155156145158
08/01/2018178179180169182
09/01/2018202203204193206
10/01/2018226227228217230

<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>

RESULT;

DATEUKUSEUASIACHINA
05/02/201810610710897110

<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Maybe this:

=IFERROR(INDEX($B$2:$F$11,MATCH($A17,$A$2:$A$11,0),MATCH(B$16,$B$1:$F$1,0)),"")

Markmzz
 
Last edited:
Upvote 0
SAXON10, Good morning.

You changed the position of the row argument with the column argument.
Only that.

Try to use:
Code:
=IFERROR(INDEX($B$2:$F$11,MATCH($A$17,$A$2:$A$11,0), MATCH(B$16,$B$1:$F$1,0)),"")
Detailing:

Row--> MATCH($A$17,$A$2:$A$11,0)

Column --> MATCH(B$16,$B$1:$F$1,0)

Attention where to put the sign of $

Is that what you want?
I hope it helps you.
 
Upvote 0
Another formula with the same result (with your example):

=IFERROR(VLOOKUP($A17,$A$2:$F$11,MATCH(B$16,$A$1:$F$1,0),0),"")

Markmzz
 
Upvote 0

Forum statistics

Threads
1,215,375
Messages
6,124,581
Members
449,174
Latest member
chandan4057

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top