Can I set a maximum value on top of and IF sum?

UniAmyColeman

New Member
Joined
May 16, 2018
Messages
9
Hi All

So I am using the following formula to calculate payment entitlements:

=IF(L145="Scheme A",P145*30,P145*60)

So Scheme A pays £30 per day and Scheme B pays £60 a day (in the above if Column L contains "Scheme A" it multiplies P by 30, if L doesn't contain "Scheme A" then P by 60) . This works fine. But....

Column P contains the number of days that the participants are on scheme. The payment maximum is for 10 days but Column P could contain a value more than 10.

So my question is can I use my above formula but somehow have an up to a maximum of £300 or £600? Or do you know of an alternative way to achieve this?

Hope that makes sense. Any advice welcome

Best wishes

Amy
 
Last edited:

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
try

=MIN(10,P145)*IF(L145="Scheme A",30,60)
 
Upvote 0
If i read it correctly, is this what you are after?

=IF(L145="Scheme A",30,60)*If(P145>10, 10, P145)


 
Upvote 0

Forum statistics

Threads
1,216,095
Messages
6,128,792
Members
449,468
Latest member
AGreen17

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