INDEX - correct row/col - returns incorrect value?

Camel123

Board Regular
Joined
Jun 5, 2018
Messages
186
Hi,

Please see formula:
=IFERROR(INDEX('hours'!F5:BF2000;MATCH(P3;'hours'!A:A;0);MATCH(Q2;'hours'!2:2;0));"")

It identifies row 6 & col 6= correct. But it does not return that value. What might be the issue?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
The fact that your index array starts at row 5 and column 6 whilst your match formulas start at row 1 and column 1. They must be the same for that to work properly.
 
Upvote 0
Like this:

=IFERROR(INDEX('hours'!F5:BF2000;MATCH(P3;'hours'!A5:A2000;0);MATCH(Q2;'hours'!F2:BF2;0));"")
 
Upvote 0
Thank you,

Are there any work arounds on this issue? Can't change where the information appears due to the sheets being standard templates.
 
Upvote 0
It isnt an issue. You have an index array and you provide it, in your case, the row number and the column number. Do not confuse those with the actual row and column number. They are the row and column of the index array. So =INDEX('hours'!F5:BF2000,1,1) will produce whatever is in F5 not whatever is in A1.
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,607
Members
449,090
Latest member
vivek chauhan

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