VLOOKUP Problem

NeoSez

Board Regular
Joined
Aug 14, 2020
Messages
246
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I have a formula
Excel Formula:
=IF($A2="","",VLOOKUP($C2,$R:$S2))
The problem is, it does not recognize 2313A and returns a lookup of 123 instead
And 456 returns a lookup of 2313A
Why is it doing this?
Spent days looking at this and can not figure out why.
The lookup list is something like this :
Columns R & S
123123 Go
456456 big
789789 or
10111011 Not
2313A2313A Atall
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
If your formula is producing results, I assume it is:

=IF($A2="","",VLOOKUP($C2,$R:$S,2))

Have a look at help for the VLOOKUP function. For an exact match, you need to specify the third argument [range_lookup] as FALSE.
 
Upvote 0
Solution
In the VLOOKUP you need to identify which column you want returned (e.g., 2) followed by a comma followed by FALSE
 
Upvote 0
If your formula is producing results, I assume it is:

=IF($A2="","",VLOOKUP($C2,$R:$S,2))

Have a look at help for the VLOOKUP function. For an exact match, you need to specify the third argument [range_lookup] as FALSE.

StephenCrump Thank you!!! That was it. Works now.​

 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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