vlookup help needed

biru_one

New Member
Joined
Jan 30, 2014
Messages
1
I've two excel sheets. Sheet 1 contains list of near about 12000 dealers,having column titles sr,name,tin no,Addresses 1,addresses 2,addresses 3,addresses 4.

Sheet 2 contains any random 200 dealers amongst those 12000 from sheet 1 but having only Tin no.Tin no are unique and not repeated.
Now in sheet 2 I want to insert name, and address 1 to 4 from sheet1 using vlookup.
Please help.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

aaronbens

Board Regular
Joined
Jan 10, 2014
Messages
84
Unless you want to rearrange sheet 1 you will need to use Index/Match to get the Name (Vlookup requires the unique identifier to be in the left most column of the lookup range).
=INDEX(Sheet1!$B$2:$B$1200,MATCH(A2,Sheet1!$C$2:$C$1200,0))

Column B is your name column
Range “Sheet1!$B$2:$B$1200” assumes exactly 1200 lines on sheet 1
Column C is your tin no column
Range “Sheet1!$C$2:$C$1200” assumes exactly 1200 lines on sheet 1

For the address rows adjust the B in the Range “Sheet1!$B$2:$B$1200” to the address column you are looking up.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,158
Messages
5,835,718
Members
430,383
Latest member
Kastore

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
Top