Set a minimum value

Geoffo123

New Member
Joined
Dec 12, 2017
Messages
4
Guys,
Is it possible to use a formula e.g cell C7 '=(C4*C5)/3' but have cell with the answer remain no lower than a minimum amount?

This is to calculate work hours based on a job size, however, if I input (C4) as a 1 (1 Tonne), I get an answer of 0 in cell C7.

Not sure if I should be using another formula to cover this

Thank you in advance for any help
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
You didn't say what your minimum amount was, but say you didn't want any value lower than 10:
=MAX(10,(C4*C5)/3)
 
Upvote 0
What do you have in C5? Unless you have 0 in C5, you should get something in C7. You could use something like:

=MAX(1,(C4*C5)/3)

to set a lower value of 1, no matter what's in C4 and C5. You could use something like:

=ROUNDUP((C4*C5)/3,0)

to make sure your formula rounds up to the next whole number.
 
Upvote 0

Forum statistics

Threads
1,215,348
Messages
6,124,423
Members
449,157
Latest member
mytux

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