vertical & horizontal lookup?

CommSecy

Board Regular
Joined
Mar 21, 2017
Messages
60
So similar to a multiplication table, I want to be able to find the horizontal and vertical match. I have a list of employees with the number of years as of a specific date, i want to find their salary based on the number of years and grade. so based on their grade, and the number of years working, their salary should be X.

Thanks :)
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Hi Commsecy,

I think a worked example would help you get better answers but I'm guessing the employees also have grades and the years of service are ranges for the salary.

CommSecy.xlsx
ABCDEFGHIJKL
1EmployeeYearsGradeSalariesYears
2Bob1A€65,000Grade1372599
3Jim4B€72,000A€65,000€80,000€90,000€120,000€145,000
4Sue7C€72,000B€56,000€72,000€82,000€98,000€102,000
5Kim12A€90,000C€48,000€66,000€72,000€86,000€96,000
6Alex3B€72,000
7Vanessa26A€120,000
Sheet1
Cell Formulas
RangeFormula
D2:D7D2=INDEX($H$3:$L$5,MATCH(C2,$G$3:$G$5,0),MATCH(B2,$H$2:$L$2,1))
 
Upvote 0
Solution

Forum statistics

Threads
1,214,925
Messages
6,122,301
Members
449,078
Latest member
nonnakkong

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top