Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,670
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default 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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Numbers not adding together correctly Andy Bleese Excel Worksheet Functions 0 November 3rd 06 03:08 PM
How to switch negative numbers to positive numbers in Excel ? amashmallow888 Excel Worksheet Functions 2 September 25th 06 06:34 AM
Displaying all numbers as positive TeddyTash Excel Worksheet Functions 0 September 22nd 06 11:06 AM
Adding to a column of numbers Colleen Excel Worksheet Functions 1 January 4th 06 06:26 AM
Find Median of Positive numbers only in Range MichaelC Excel Worksheet Functions 4 June 24th 05 03:06 AM


All times are GMT +1. The time now is 08:26 AM.

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

About Us

"It's about Microsoft Excel"