Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
marcus1066
 
Posts: n/a
Default can I get cells with a minus number to show zero

I have a cell which has a basic formula in (adding up from 2 other cells)
This number can end up being a minus number (-167), If this happens I need to
be able to make that minus number appear as a zero (0). Is this possible?
please help.
  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

=IF(A1+B1<0,0,A1+B1)

Alternative

=MAX(0,A1+B1)


Gord Dibben Excel MVP


On Sat, 7 May 2005 08:28:03 -0700, "marcus1066"
wrote:

I have a cell which has a basic formula in (adding up from 2 other cells)
This number can end up being a minus number (-167), If this happens I need to
be able to make that minus number appear as a zero (0). Is this possible?
please help.


  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

If you want to retain the underlying value, but just show the 0 value, use a
format like General;\0

--
HTH

Bob Phillips

"marcus1066" wrote in message
...
I have a cell which has a basic formula in (adding up from 2 other cells)
This number can end up being a minus number (-167), If this happens I need

to
be able to make that minus number appear as a zero (0). Is this possible?
please help.



  #4   Report Post  
CLR
 
Posts: n/a
Default

Re-write your formulas by wrapping them in an IF statement that requires the
result to be greater than or equal to zero, like.....

=IF(YourFormula<0,0,YourFormula)

Vaya con Dios,
Chuck, CABGx3


"marcus1066" wrote in message
...
I have a cell which has a basic formula in (adding up from 2 other cells)
This number can end up being a minus number (-167), If this happens I need

to
be able to make that minus number appear as a zero (0). Is this possible?
please help.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to link cells and keep number format altogether Yi Excel Discussion (Misc queries) 0 May 6th 05 03:12 PM
how 2 Count number of cells that have specific condition format? daveydavey Excel Worksheet Functions 2 May 4th 05 03:06 PM
cells changing from number to date [email protected] Excel Discussion (Misc queries) 1 March 22nd 05 05:31 PM
How can I lock a number of cells within a worksheet? IGA Excel Discussion (Misc queries) 4 February 25th 05 02:38 AM
in excel how can I get the number to show instead to #value in th. excel Excel Worksheet Functions 2 January 30th 05 08:29 PM


All times are GMT +1. The time now is 04:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"