DRandles
DRandles

Reputation: 13

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

Sheet 1 Fields

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

Sheet 2 Fields

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!

Upvotes: 1

Views: 7213

Answers (1)

Scott Craner
Scott Craner

Reputation: 152450

Put this in B2 and copy down:

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

Upvotes: 1

Related Questions