ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Adding only positive numbers (https://www.excelbanter.com/excel-worksheet-functions/126109-adding-only-positive-numbers.html)

Eric

Adding only positive numbers
 
I have a column of $ amounts (some negative) for which I would like to write
a function to add ONLY the positive numbers, and exclude the negative ones.
How can this be done.
-Eric

T. Valko

Adding only positive numbers
 
Try this:

=SUMIF(A1:A10,"0")

Biff

"Eric" wrote in message
...
I have a column of $ amounts (some negative) for which I would like to
write
a function to add ONLY the positive numbers, and exclude the negative
ones.
How can this be done.
-Eric




FSt1

Adding only positive numbers
 
hi,
look up sumif.

it might look something like this...
=sumif(c1:c10,"=0",c1:c10)

regards
FSt1



"Eric" wrote:

I have a column of $ amounts (some negative) for which I would like to write
a function to add ONLY the positive numbers, and exclude the negative ones.
How can this be done.
-Eric



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

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