Excel Multi Level If Than with Greater Than and Less Than needs

dsami0122

Board Regular
Joined
Mar 31, 2016
Messages
58
Office Version
  1. 365
Platform
  1. Windows
We have two tables that shows titles and what the range of salary is for that specific title it has MIN, MID, MAX range,

1736880480994.png




What I am trying to calculate is what the compa-ratio is for the level first then I have to calculate a multiple level If statement to pull over the Merit increase from this table
1736880790487.png



First one is if Performance Rating from First Table F Column is Equal to the Second Table A Column, And the Ration from first table column N meet the criteria of any the columns in the second table it will pull over the correct percentage.

So in the SAMPLE CASE it would pull over the below 80% and Equal to 4.5 performance rating and increase would be 4.55%

Does this make sense?
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
How about:

ABCDEF
1RatingCompa-ratioIncrease
24.531%4.55
3
4
5
60%80%90%100%120%
72.5
82.6
92.7
102.8
112.9
123.0
133.1
143.2
153.3
163.4
173.5
183.6
193.7
203.8
213.9
224.0
234.1
244.2
254.3
264.44.053.853.653.453.25
274.54.554.354.153.953.75
284.6
294.7
304.8
314.9
325.0
33
Sheet1
Cell Formulas
RangeFormula
C2C2=XLOOKUP(B2,B6:F6,XLOOKUP(A2,A7:A32,B7:F32),,-1)
 
Upvote 0
I am getting an N/A
XLOOKUP(N3,'Salary Planning Matrix'!B1:F1,XLOOKUP(F3,'Salary Planning Matrix'!A2:A42,'Salary Planning Matrix'!B2:F42),,-1)
1736888167805.png

1736888217235.png
 
Upvote 0
What happens with just this?
Excel Formula:
=XLOOKUP(N3,'Salary Planning Matrix'!B1:F1,'Salary Planning Matrix'!B1:F1)
 
Upvote 0
I suggest you also have a look at how you're generating your performance rating column. Compare:

ABCDE
1MatchMatch
24.54.5
3#N/A4.5
4#N/A21
5
612.52.5
722.62.6
832.72.7
942.82.8
1052.92.9
1163.03.0
1273.13.1
1383.23.2
1493.33.3
15103.43.4
16113.53.5
17123.63.6
18133.73.7
19143.83.8
20153.93.9
21164.04.0
22174.14.1
23184.24.2
24194.34.3
25204.44.4
26214.5TRUE4.5TRUE
27224.64.6
28234.74.7
29244.84.8
30254.94.9
31265.05.0
32
Sheet1
Cell Formulas
RangeFormula
B3,D3B3=XLOOKUP(B2,B6#,B6#)
B4,D4B4=MATCH(B2,B6#,)
A6:A31A6=SEQUENCE(26)
B6:B31B6=SEQUENCE(26,,2.5,0.1)
D6:D31D6=ROUND(SEQUENCE(26,,2.5,0.1),1)
C26,E26C26=B26=4.5
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,225,492
Messages
6,185,300
Members
453,286
Latest member
JCM

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