Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
GregP1962
 
Posts: n/a
Default Making negative numbers show as zero.


how do I make a cell show zero if the number is negative? Excel help
doesn't have this info in a redily available place.


--
GregP1962
------------------------------------------------------------------------
GregP1962's Profile: http://www.excelforum.com/member.php...o&userid=33063
View this thread: http://www.excelforum.com/showthread...hreadid=528761

  #2   Report Post  
Posted to microsoft.public.excel.misc
renegan
 
Posts: n/a
Default Making negative numbers show as zero.


If your cell gives negative values due to a formula try this:

=if(FORMULA IN CELL<0,0,FORMULA IN CELL)


--
renegan
------------------------------------------------------------------------
renegan's Profile: http://www.excelforum.com/member.php...o&userid=10450
View this thread: http://www.excelforum.com/showthread...hreadid=528761

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Making negative numbers show as zero.

Use a custom format (Cells(FormatCustom) of

General;"0";General

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"GregP1962" wrote
in message ...

how do I make a cell show zero if the number is negative? Excel help
doesn't have this info in a redily available place.


--
GregP1962
------------------------------------------------------------------------
GregP1962's Profile:

http://www.excelforum.com/member.php...o&userid=33063
View this thread: http://www.excelforum.com/showthread...hreadid=528761



  #4   Report Post  
Posted to microsoft.public.excel.misc
renegan
 
Posts: n/a
Default Making negative numbers show as zero.


If your cell gives negative values due to a formula try this:

=if(FORMULA IN CELL<0,0,FORMULA IN CELL)


--
renegan
------------------------------------------------------------------------
renegan's Profile: http://www.excelforum.com/member.php...o&userid=10450
View this thread: http://www.excelforum.com/showthread...hreadid=528761

  #5   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default Making negative numbers show as zero.


renegan Wrote:
If your cell gives negative values due to a formula try this:

=if(FORMULA IN CELL<0,0,FORMULA IN CELL)



...or

=MAX(0,formula)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=528761



  #6   Report Post  
Posted to microsoft.public.excel.misc
GregP1962
 
Posts: n/a
Default Making negative numbers show as zero.


I used the first one. Thanks!

=if(FORMULA IN CELL<0,0,FORMULA IN CELL)


--
GregP1962
------------------------------------------------------------------------
GregP1962's Profile: http://www.excelforum.com/member.php...o&userid=33063
View this thread: http://www.excelforum.com/showthread...hreadid=528761

  #7   Report Post  
Posted to microsoft.public.excel.misc
Elkar
 
Posts: n/a
Default Making negative numbers show as zero.

Are these numbers the result of a formula? If so, then you can use the MAX()
function.

=MAX(0,yourformula)

This displays the larger of the two numbers, so if your formula results in a
negative number, the 0 will be larger and thus be displayed.

HTH,
Elkar


"GregP1962" wrote:


how do I make a cell show zero if the number is negative? Excel help
doesn't have this info in a redily available place.


--
GregP1962
------------------------------------------------------------------------
GregP1962's Profile: http://www.excelforum.com/member.php...o&userid=33063
View this thread: http://www.excelforum.com/showthread...hreadid=528761


  #8   Report Post  
Posted to microsoft.public.excel.misc
Jay Somerset
 
Posts: n/a
Default Making negative numbers show as zero.

On Fri, 31 Mar 2006 15:12:32 -0800, Elkar
wrote:

Are these numbers the result of a formula? If so, then you can use the MAX()
function.

=MAX(0,yourformula)

This displays the larger of the two numbers, so if your formula results in a
negative number, the 0 will be larger and thus be displayed.


It will also change the results of any calculations that in turn depend on
this cell. If this is what you want, fine. Alternatively, if you only want
negtive numbers to DISPLAY as zero, use a custom format (as shown in an
earlier response). This won't cause numeric values to change.




"GregP1962" wrote:


how do I make a cell show zero if the number is negative? Excel help
doesn't have this info in a redily available place.


--
GregP1962
------------------------------------------------------------------------
GregP1962's Profile: http://www.excelforum.com/member.php...o&userid=33063
View this thread: http://www.excelforum.com/showthread...hreadid=528761


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 show all the possible combination of a set of numbers? [email protected] Excel Worksheet Functions 3 February 12th 06 10:29 AM
convert negative numbers to positive numbers and vice versa bill gras Excel Worksheet Functions 4 December 7th 05 01:39 AM
How to change a series of positive numbers to negative numbers Ellie Excel Worksheet Functions 5 September 5th 05 05:10 PM
Can I calculate negative numbers to = zero in excel? HeyTriciaC Excel Discussion (Misc queries) 3 August 29th 05 09:53 PM
how do I rank negative and positive numbers? Anna Excel Worksheet Functions 1 April 6th 05 12:36 AM


All times are GMT +1. The time now is 04:27 PM.

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"