简体   繁体   中英

How to do this vlookup in excel?

I have one Excel document with two sheets Sheet1 and Sheet2.

Sheet1 data is as below.

    sno        absolute name      new field
    ---        -------------      ---------
    1           abc
    2           defgh
    3           rose

Sheet2 data is as below.

 absolute name      new field
 -------------      ---------
 abc                apple 
 defgh              mango
 rose               orange

The output should end up in Sheet1 as:

sno        absolute name      new field
---        -------------      ---------
1           abc                apple
2           defgh              mango
3           rose               orange

consider the above data as sample data.

How do you do the vlookup?

Here's your answer:

=VLOOKUP(B2, Sheet2!A:B, 2)

This formula help you:-

=VLOOKUP(B2, Sheet2:A,B, 2,0)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM