Adding Minimums to Formula

Utradeshow

Well-known Member
Joined
Apr 26, 2004
Messages
769
Hi All,

I have this formula that I need to add minimums to.

If B36 or C36 is over 48, Minimum 25,
If B36 or C36 is over 96, Minimum 50,
If B36 or C36 is over 144, Minimum 75,

=ROUND(B36*C36/76.5,0)
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Try this:
Excel Formula:
=MAX(ROUND(B36*C36/76.5,0),LOOKUP(MAX(B36:C36),{-99999,48,96,144},{0,25,50,75}))
 
Upvote 0
Perhaps:
=MAX(ROUND(B36*C36/76.5,0),MIN(INT(MAX(B36:C36)/48),3)*25)
 
Upvote 0
Try this:
Excel Formula:
=MAX(ROUND(B36*C36/76.5,0),LOOKUP(MAX(B36:C36),{-99999,48,96,144},{0,25,50,75}))
Joe, That one seems to do the trick, Thank you.

Scott, The formula seems correct, It does give an error saying formula omits adjacent cell? Whatever that means

Thank you Guys for all your help
 
Upvote 0
You are welcome.
Glad we were able to help!
 
Upvote 0

Forum statistics

Threads
1,215,081
Messages
6,123,016
Members
449,093
Latest member
ikke

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