Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Sue Sue is offline
external usenet poster
 
Posts: 285
Default display negative number as zero

I am doing a inward/outward stocktake and sometimes it returns a negative
number. I want to be able to display this negative number as zero but display
any positive numbers as they are.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default display negative number as zero

Try this:

=MAX(your formula,0)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"sue" wrote in message
...
I am doing a inward/outward stocktake and sometimes it returns a negative
number. I want to be able to display this negative number as zero but

display
any positive numbers as they are.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 772
Default display negative number as zero

This should do it for you
=IF(A1<0,0,"formula")
--
-John Northwest11
Please rate when your question is answered to help us and others know what
is helpful.


"Ragdyer" wrote:

Try this:

=MAX(your formula,0)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"sue" wrote in message
...
I am doing a inward/outward stocktake and sometimes it returns a negative
number. I want to be able to display this negative number as zero but

display
any positive numbers as they are.



  #4   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default display negative number as zero

If you want to display 0, but retain the negative value in the cell, you
could try a custom number format:

#;"0";0


"sue" wrote:

I am doing a inward/outward stocktake and sometimes it returns a negative
number. I want to be able to display this negative number as zero but display
any positive numbers as they are.

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
Custom number format codes for negative numbers IJ Excel Discussion (Misc queries) 5 September 7th 06 09:54 PM
change a currency number display wilywayne Excel Discussion (Misc queries) 4 August 3rd 06 02:55 PM
remove negative from number jermsalerms Excel Worksheet Functions 5 June 30th 06 01:53 PM
Change Number to a negative in VBA Noemi Excel Discussion (Misc queries) 2 November 22nd 05 11:58 AM
How do I change the display of a negative number to just read 0? [email protected] Excel Discussion (Misc queries) 2 April 18th 05 11:03 AM


All times are GMT +1. The time now is 11:43 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"