#1   Report Post  
Posted to microsoft.public.excel.misc
peerless
 
Posts: n/a
Default Sum

If a number of cells add up to a minus figure how do i show this as not being
a mius ie any number sum = to a minus would be 0
  #2   Report Post  
Posted to microsoft.public.excel.misc
Chris Marlow
 
Posts: n/a
Default Sum

Hi,

Try;

=IF(SUM(xx)<0,0,SUM(xx))

Regards,

Chris.

--
Chris Marlow
MCSD.NET, Microsoft Office XP Master


"peerless" wrote:

If a number of cells add up to a minus figure how do i show this as not being
a mius ie any number sum = to a minus would be 0

  #3   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Sum

Hi

Try this:
=MAX(SUM(A2:A20),0)

Andy.

"peerless" wrote in message
...
If a number of cells add up to a minus figure how do i show this as not
being
a mius ie any number sum = to a minus would be 0



  #4   Report Post  
Posted to microsoft.public.excel.misc
Chris Marlow
 
Posts: n/a
Default Sum

That is more efficient ... does not do the sum twice.

--
Chris Marlow
MCSD.NET, Microsoft Office XP Master


"Andy" wrote:

Hi

Try this:
=MAX(SUM(A2:A20),0)

Andy.

"peerless" wrote in message
...
If a number of cells add up to a minus figure how do i show this as not
being
a mius ie any number sum = to a minus would be 0




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



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