How to turn a negative value to a zero

saraapple

Board Regular
Joined
Feb 3, 2020
Messages
165
Office Version
  1. 2010
Platform
  1. Windows
I have a simple formula as follows:
=ROUNDUP(D11-D14,0)

Some of the values this returns are negative how can I change the formula to return a 0 if this is the case. I need to discount the negative values as I need to total them up at the end and the negatives are corrupting my result.

Hope someone can help

Thanks
Sara
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Glad we could help & thanks for the feedback.
 
Upvote 0
@mrmmickle1
It has indeed been a long time, nice to see you back.
Hope you & yours are safe in these difficult times.
 
Upvote 0
The following formula returns a negative number. =($k4-$L4)+($k4*P$6). Can anyone tell me how to round this up to zero. I see the other formulas to do that on a single parenthesis formula, but this one has two sets of parenthesis, and I can't figure out where to put the 0.
 
Upvote 0

Forum statistics

Threads
1,212,928
Messages
6,110,737
Members
448,295
Latest member
Uzair Tahir Khan

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