Reputation: 13
I am trying to get excel to take a job code from sheet 1
Compare it to a list of job codes & their respective salary grades on sheet 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!
Upvotes: 1
Views: 7213
Reputation: 152450
Put this in B2 and copy down:
=VLOOKUP(A2,Sheet2!A:B,2,FALSE)
Upvotes: 1