Capping a value

Derrigan

New Member
Joined
Nov 12, 2018
Messages
9
Hi There,

I'm trying to complete some pension information but can't quite figure out how to cap.

The lower is 6249 and the upper is 50270

I need to be able to return a cap that if a salary (based on a broad increase) achieves or exceeds the upper cap (50270), the calculation is made on the cap, rather than the salary

For example
If the salary is above the cap of £50,270, the calculation will always be 50270 - 6249 / 100 * 4 (or whatever the pension contribution is)
If the salary is below the cap of £50,270, the calculation will be the actual salary - 6249 / 100 *4 (or whatever the pension contribution is)

Thanks, in advance for your assistance!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
with salary in A1, try

=(min(A1,50270)-max(A1,6249))/100*4
 
Last edited:
Upvote 0
to cover salary < 6249;

=IF(A1<6249,6249/100*4,(MIN(A1,50270)-6249)/100*4)
 
Upvote 0
Solution

Forum statistics

Threads
1,214,606
Messages
6,120,484
Members
448,967
Latest member
visheshkotha

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