VLOOKUP plus (nesting?) LEFT

Sunvisor

Board Regular
Joined
Oct 9, 2009
Messages
233
I have a LEFT formula looking at the first 3 letters of Serial numbers. I have a second sheet with Locations that correspond to the first three letters of the serial number...So I have a column showing me the Abbreviation...then another column using a Vlookup to find the corresponding Location...is there a way to combine the left formula and the Vlookup into one formula?

basically...I want it to "look for the abbreviation, then with the abbreviation do a vlookup on the second page and find the corresponding location"

Can anyone help?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
I have a LEFT formula looking at the first 3 letters of Serial numbers. I have a second sheet with Locations that correspond to the first three letters of the serial number...So I have a column showing me the Abbreviation...then another column using a Vlookup to find the corresponding Location...is there a way to combine the left formula and the Vlookup into one formula?

basically...I want it to "look for the abbreviation, then with the abbreviation do a vlookup on the second page and find the corresponding location"

Can anyone help?

Care to post your formulas with LEFT and VLOOKUP?
 
Upvote 0
Sheet one...column A B C

A has NYP8374 (this is a serial)
B has Left(A2,3) ...which equals "NYP"
Column C has Vlookup (B3,"Sheet two column a to b$",2,FALSE)..which equals NY Plaza


Sheet two

Column A Column B

NYP NY Plaza
BRW Broadway


I am trying to create a forumla I can do this all in one shot...I am just interested, I could just keep all the columns but I would like to start nesting.
 
Upvote 0
One of...

=INDEX(Sheet2!$B$2:$B$400,MATCH(LEFT(A2,3),Sheet2!$A$2:$A$400,0))

=VLOOKUP(LEFT(A2,3),Sheet2!$A$2:$B$400,2,0)

Adjust the ranges to suit.
 
Upvote 0

Forum statistics

Threads
1,214,387
Messages
6,119,225
Members
448,877
Latest member
gb24

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