INDEX/MATCH not working

perkinsr1

New Member
Joined
Apr 24, 2016
Messages
17
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi,
I am using INDEX/MATCH to look for the team leaders name in row 1 and then to return the advisors name from the list below it, when I use this I get data from the first or second column relating to a different TL name.

Any ideas what I am doing wrong? I have attached a pic of what I have.
 

Attachments

  • Capture.PNG
    Capture.PNG
    20.4 KB · Views: 8

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Very difficult to tell what might be wrong, as all you've done is post an image of some data.
 
Upvote 0
Very difficult to tell what might be wrong, as all you've done is post an image of some data.

Oops, it would help if I put the formula on, I am using the below:

=IFERROR(INDEX(Data!A1:CQ20,MATCH(A2,Data!A1:CQ1,0)+1,0),0)

Data is a tab with the TL names in row1 with the advisors names below each TL
A2 is the cell I put the TL name in to return the desired result
A1:CQ20 is the area I am looking in to return the advisors details.

Hope that makes sense?

Thanks again

Rob
 
Upvote 0
Ok, thanks for that, what version of Excel are you using?
You can modify your account details to show you version & platform, which saves members having to ask.
 
Upvote 0
Ok, assuming the formula is in B2 copied down, try
=IFERROR(INDEX(Data!$A$1:$CQ$20,ROWS(B$1:B2),MATCH($A$2,Data!$A$1:$CQ$1,0)),0)
 
Upvote 0
Hi Fluff,
That has worked perfect, thank you for the support, legend as ever.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,276
Members
449,075
Latest member
staticfluids

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