If function with index and match not giving the data I need

perkinsr1

New Member
Joined
Apr 24, 2016
Messages
17
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi,

I am using the below formula to try and get the the following information:

I am asking it to look for a name in the left cell of the main sheet and then look at the 1st column of the 2nd sheet to find it, then index the 2nd sheet data and match "Two Man" in the 2nd column of the 2nd sheet and then return the 48th column data. I get data but it is from the 48th column of the first person on the 2nd report???

Hope this makes sense?

A10 is the advisor name on the 1st report

INDEX and MATCH are both on the 2nd report

=IF('[Report Name 1]Wk 06'!$A:$A,$A10,INDEX('[Report Name 2]Wk 06'!$B:$AX,MATCH("Two Man",'[Report Name 2]Wk 06'!$B:$B,0),48))
 
Last edited:

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
So, if I have "Two Man" on the 19th row of '[Report Name 2]Wk 06', I get the value in AW19. It seems to be working for me.
 
Upvote 0
Hi,

That is strange, I have it looking for the name A10 from '[Report Name 1]'Wk 06' on '[Report Name 2]Wk 06', I get the value from the 1st advisor which is row 6 and then the data in AW6, this is baffling.
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,223,714
Messages
6,174,052
Members
452,542
Latest member
Bricklin

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