INDEX & MATCH returning N/A

Sazzle14

New Member
Joined
Apr 12, 2011
Messages
20
HI (Office 2007)

I feel I have gone round in circles on this one. Here is the formula and the result is #n/a.

The cell C3 is in the middle of the array, and my understanding is that the Match formula would work out what row it is on, which will consequently feed back in to my Index formula.

What am I doing wrong?

=INDEX('R1 MasterData'!$A3:$IK2001,((MATCH(Transactions!$C4,'R1 MasterData'!$G4:$IK82,FALSE))),7)

I am trying to put this into cell b4 of the Transactions! sheet

thanks

Sarah
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hello Sarah,

with MATCH function the range must be a single row or column so you can't use the range 'R1 MasterData'!$G4:$IK82. Do you know where Transactions!$C4 will occur in that range, can it be anywhere or will it be within column G or row 4 or something else?
 
Upvote 0
ahh I see - well there in lies the problem C4 could be in any row or column within 'R1 Master Data sheet

any ideas?
 
Upvote 0
OK, try this "array formula"

=INDEX('R1 MasterData'!$G4:$IK82,SMALL(IF(Transactions!$C4='R1 MasterData'!$G4:$IK82,ROW('R1 MasterData'!$G4:$IK82)-ROW('R1 MasterData'!$G4)+1),1),SMALL(IF(Transactions!$C4='R1 MasterData'!$G4:$IK82,COLUMN('R1 MasterData'!$G4:$IK82)-COLUMN('R1 MasterData'!$G4)+1),1))

confirmed with CTRL+SHIFT+ENTER
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,879
Members
452,948
Latest member
Dupuhini

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