A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

replace a negative result with a zero?



 
 
Thread Tools Display Modes
  #1  
Old April 19th, 2010, 05:17 PM posted to microsoft.public.excel.misc
Pam2277
external usenet poster
 
Posts: 1
Default replace a negative result with a zero?

I have my formula entered but need it to return a zero if the result is
negative. Any help is greatly appreciated.
--
Pam
  #2  
Old April 19th, 2010, 05:22 PM posted to microsoft.public.excel.misc
Pete_UK
external usenet poster
 
Posts: 8,780
Default replace a negative result with a zero?

Well, what is the formula that you are using?

You could try this:

=MAX(your_formula,0)

to replace your_formula.

Hope this helps.

Pete

On Apr 19, 5:17*pm, Pam2277 wrote:
I have my formula entered but need it to return a zero if the result is
negative. *Any help is greatly appreciated.
--
Pam


  #3  
Old April 19th, 2010, 05:33 PM posted to microsoft.public.excel.misc
eduardo
external usenet poster
 
Posts: 2,131
Default replace a negative result with a zero?

Hi,

=if(your formula0,0,your formula)

"Pam2277" wrote:

I have my formula entered but need it to return a zero if the result is
negative. Any help is greatly appreciated.
--
Pam

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.