Vlookup Issue

Beachson

Active Member
Joined
Oct 28, 2009
Messages
468
I am trying to do a Vlookup between two reports, here is my formula ...

Code:
=Vlookup(A2,Sheet2!$A$2:$B$1000,2,0)

I know for certain that there ar exact matches (i.e. "S0001" is on both sheets) but it will not return what is in Column B even though they are exactly the same.

One file is CSV and one is XLS. I have tried everything but cannot figure out why these two cells will not consider eachother a match (Frustrating) please help if you can thanks :).
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
If I took to cells that contained "S0001" and they were formatted differently and would not match eachother in a vlookup how do I make them both the same on another spreadsheet. I have tried formatting before pasteing, pasteing values only saving in different formats but they never match unless I manually type over one of them...then they match
 
Upvote 0
can only guess that you have a space (one or more) or even tabs in either one or both of the files. you can click into both sides and see if that is the case.

If that is indeed the case, you can use the TRIM function or use text to columns to remove the extras and give the vlookup another try.
 
Upvote 0

Forum statistics

Threads
1,224,526
Messages
6,179,322
Members
452,906
Latest member
Belthazar

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