ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sum (https://www.excelbanter.com/excel-discussion-misc-queries/75041-sum.html)

peerless

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

Chris Marlow

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



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




Chris Marlow

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






All times are GMT +1. The time now is 12:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com