Using INDEX w/MATCH to get data from unsorted source

L

Lynn Bales

I am trying to add data from one sheet to another that is unsorted. The
formula I'm using:

=INDEX('Differences'!$A2:$F$2000,MATCH($A2,'Differences'!$A$2:$A$5000),6)

So according to instructions
MATCH matches the data in $A2 to similiar data in the Differences tab column A
then Index will print whatever is in the column 6 of the differences tab.

However, what's going on is that correct data is not getting into this cell.
When I evaluated the formula, the match is not matching the correct value.
 
K

KL

Hi Lynn,

Try this:

=INDEX('Differences'!$A2:$F$2000,MATCH($A2,'Differences'!$A$2:$A$5000,0),6)

you need to use the 3rd argument in the function MATCH if you want to find
exact match.


Regards,
KL
 
L

Lynn Bales

Awesome KL, thanks for the help. Worked perfectly....now on to something else
I probably won't get by myself..... :)

L
 
K

KL

No prob - thanks for your feedback.

KL


Lynn Bales said:
Awesome KL, thanks for the help. Worked perfectly....now on to something
else
I probably won't get by myself..... :)

L
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top