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  

Enter "0" is number is negative



 
 
Thread Tools Display Modes
  #1  
Old June 11th, 2004, 09:19 PM
S Girl
external usenet poster
 
Posts: n/a
Default Enter "0" is number is negative

I have a row that is calculating figures and some of
numbers are positve and some are negative. How do I tell
it to enter a zero, if the calculation returns a negative
number and enter the positive number if the calculation is
postive.
  #2  
Old June 11th, 2004, 09:29 PM
Trevor Shuttleworth
external usenet poster
 
Posts: n/a
Default Enter "0" is number is negative

one way:

=IF(SUM(A1:H1)0,SUM(A1:H1),0)

Regards

Trevor


"S Girl" wrote in message
...
I have a row that is calculating figures and some of
numbers are positve and some are negative. How do I tell
it to enter a zero, if the calculation returns a negative
number and enter the positive number if the calculation is
postive.



  #3  
Old June 11th, 2004, 09:35 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default Enter "0" is number is negative

Hi
try
=MAX(SUM(A1:A10),0)

--
Regards
Frank Kabel
Frankfurt, Germany


S Girl wrote:
I have a row that is calculating figures and some of
numbers are positve and some are negative. How do I tell
it to enter a zero, if the calculation returns a negative
number and enter the positive number if the calculation is
postive.

 




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 01:55 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.