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

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
TADA Yes that worked - THANK YOU

You need to be aware of the ramifications of that.
You may be seeing 4.3 in column F and returning the value from the line with 4.2 from the Salary planning table.
It seems likely that either column F is a formula or Salary column A is a formula or Both.
They are displaying 2 decimals but are not actually 2 decimals.
Ideally the formula in column F and column A would have rounding applied to them eg =Round(formula,2)

You could also do it at the formula level but it will make the calculation work harder.
Rich (BB code):
=XLOOKUP(N3,'Salary Planning Matrix'!$B$1:$F$1,XLOOKUP(ROUND(F3,2),ROUND('Salary Planning Matrix'!$A$2:$A$42,2),'Salary Planning Matrix'!$B$2:$F$42),,-1)
 
Upvote 0
@Cubist 👍Good point, I had not picked up on that.
The rounding might still be an issue but you are right that it needs the "-1" you included (find exact match or next smaller item)
 
Upvote 0

Forum statistics

Threads
1,225,502
Messages
6,185,349
Members
453,287
Latest member
Emeister

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