Index Match returning wrong values

nando88

Board Regular
Joined
Jun 22, 2013
Messages
124
I have a worksheet with information and I want to grab another piece of information from another sheet.
In the Data sheet, the names are in a certain order, and I used the index match function to lookup the name in the lookup sheet in the data sheet, but I am getting wrong values.
I am using this formula:
Code:
[HTML]=INDEX(Data!B:B,MATCH(Lookup!A3,Lookup!A:A,0))[/HTML]
Can someone please help me?
Thanks in advance.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
=INDEX(Data!B:B,MATCH(Lookup!A3,Lookup!A:A,0))
1. Why do you say it is returning the wrong answer? What does it give and what did you expect?
2. What does the MATCH return?
3. what is in A3 and what is in
 
Upvote 0
I have a worksheet with information and I want to grab another piece of information from another sheet.
In the Data sheet, the names are in a certain order, and I used the index match function to lookup the name in the lookup sheet in the data sheet, but I am getting wrong values.
I am using this formula:
Code:
[HTML]=INDEX(Data!B:B,MATCH(Lookup!A3,Lookup!A:A,0))[/HTML]
Can someone please help me?
Thanks in advance.
View the file and see for yourself, the value returned in the lookup sheet do not match.
Index Match
A3, is the lookup value.
 
Upvote 0
This seems weird to me
=INDEX(Data!B:B,MATCH(Lookup!A3,Lookup!A:A,0))
Indexing the sheet named data
But your lookup value AND lookup range are on a sheet named Lookup (in the same column)

I'm thinking you probably want this
=INDEX(Data!B:B,MATCH(Lookup!A3,Data!A:A,0))
 
Upvote 0
Cannot view files like that, please reply to my questions...
1. Why do you say it is returning the wrong answer? What does it give and what did you expect?
2. What does the MATCH return?
3. what is in A3 and what is in
 
Upvote 0
Cannot view files like that, please reply to my questions...
I get values from other cells.
A3 is the lookup value.
Is the formula correct?
I have the lookup value in A3, and I am looking for data in the data sheet.
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,485
Members
448,967
Latest member
visheshkotha

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