Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How do I write a function that displays "0" when a negative number is the
result of a sum? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=MAX(0,SUM(A1:A3))
-- David Biddulph "Bryce" wrote in message ... How do I write a function that displays "0" when a negative number is the result of a sum? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way:
=MAX(0,SUM(A1:A4)) Or, if you just want to display 0, not change the value to 0 Format/Cells/Number/Custom General;\0;General;@ In article , Bryce wrote: How do I write a function that displays "0" when a negative number is the result of a sum? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
IF(SUM(A1:A10)<0,0,SUM(A1:A10))
"Bryce" wrote in message ... How do I write a function that displays "0" when a negative number is the result of a sum? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I change the column heading in Excel to display "A" "B" "C | New Users to Excel | |||
My Column display as "numbers" instead of "alphabets" | Excel Discussion (Misc queries) | |||
How to display numbers as text? Ex: 203 = "two hundred, three" | Excel Worksheet Functions | |||
"find and replace" negative numbers | Excel Worksheet Functions | |||
Vlookup and "-" negative numbers are giving me a #N/A | Excel Discussion (Misc queries) |