Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Return 0.00 if Neg.
Excel 2007
I am using a very simple formula; cell D22=SUM(D20-D19) But if the sum of the above formula is negative, I need to show 0.00 in cell D22 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Return 0.00 if Neg.
=MAX(0,SUM(D20-D19))
-- Best Regards, Luke M *Remember to click "yes" if this post helped you!* "Canon" wrote: Excel 2007 I am using a very simple formula; cell D22=SUM(D20-D19) But if the sum of the above formula is negative, I need to show 0.00 in cell D22 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Return 0.00 if Neg.
Try
=MAX(0,D20-D19) Mike "Canon" wrote: Excel 2007 I am using a very simple formula; cell D22=SUM(D20-D19) But if the sum of the above formula is negative, I need to show 0.00 in cell D22 |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Return 0.00 if Neg.
I'm not sure, why you're using a SUM(D20-D19), but here is how you would use
a conditional formula. =if(D20-D19<0,0.00,D20-D19) "Canon" wrote: Excel 2007 I am using a very simple formula; cell D22=SUM(D20-D19) But if the sum of the above formula is negative, I need to show 0.00 in cell D22 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
11 becomes 12 after hit return | Excel Discussion (Misc queries) | |||
How can I return zero after a max value has been met? | Excel Worksheet Functions | |||
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null | Excel Discussion (Misc queries) | |||
LOOKUP and return the column heading for IF/THEN return for False | Excel Discussion (Misc queries) | |||
check if reference exists, then return its value or return 0 | Excel Worksheet Functions |