简体   繁体   中英

Excel Formula If a value matches a value in a range of cells then return corresponding value in a different cell

I am trying to get excel to take a job code from sheet 1

表 1 字段

Compare it to a list of job codes & their respective salary grades on sheet 2

工作表 2 字段

And if the job codes match, take that respective salary grade value (from sheet 2) and put it in column B (Salary Grade) of Sheet 1

I've tried a few different IF formulas and just can't get it to work out!

Really appreciate any help out there, thanks in advance!

把它放在 B2 并复制下来:

=VLOOKUP(A2,Sheet2!A:B,2,FALSE)

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