When data match, copy adjacent value to adjacent column

G

Guest

Say I have two columns entered on worksheet 1.

Model Pwr
DL 360 180
DL 385 260
ML 375 300
MSA 30 400

On a different worksheet, or within the same worksheet, I want to be able to
type in a cell the Model, and have it search the Model column, and if it
finds identical entry, copy the value in Pwr column to the cell next to it.
Like in cell K1 I enter DL 385, and it will automatically copy 260 to cell L2.

Is this possible? Thanks.
 
G

Guest

VLOOKUP

Sheet1
Model Pwr
DL 360 180
DL 385 260
ML 375 300
MSA 30 400

Sheet2 Formula in cell L2
=VLOOKUP(K1,Sheet1!A:B,2,0)

if your sheet is not called Sheet1, replace as appropriate.
if you have spaces in it, you may need something like 'My Worksheet'!A:B

if you are doing in in the same sheet, it is just
=VLOOKUP(K1,A:B,2,0)
 
G

Guest

Great! Awesome! Thank you!

Allllen said:
VLOOKUP

Sheet1
Model Pwr
DL 360 180
DL 385 260
ML 375 300
MSA 30 400

Sheet2 Formula in cell L2
=VLOOKUP(K1,Sheet1!A:B,2,0)

if your sheet is not called Sheet1, replace as appropriate.
if you have spaces in it, you may need something like 'My Worksheet'!A:B

if you are doing in in the same sheet, it is just
=VLOOKUP(K1,A:B,2,0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top