Formula Table Trouble...

ubiqman

New Member
Joined
Apr 11, 2002
Messages
31
I need some help with the VLOOKUP. I have created a table in Colunm A & B like this..

F8ZZ16054AA YR3316044AA
F8ZZ16055AA 1R3316045AA
YR3Z16055AA 2R3316F001AB
1W1Z16138AA 2W138A297AA
F4ZZ16707A 1R3316774AA
XR3Z9B081BA XR339A179AD
2C3Z16K007AA 3C3416K007AB

My formula in D1 looks like this.. =VLOOKUP(C1, A1:B7,2) With my input being C1...Problem is when I input the first # and the second # I get the b5 output..not the b1..? When in use A3...i get B7... what am I doing wrong..?
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
The column you are looking in , A in your case, must be in ascending order or you will get erretic results. Try sorting you table and see if that helps.
 
Upvote 0
If I might suggest, no need to sort column A if you add a range lookup of FALSE. This will return first exact match even if column A unsorted.
to add FALSE in your formula, after the 2 add ",false" (without the quotes).
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,238
Members
448,555
Latest member
RobertJones1986

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