Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Susannah
 
Posts: n/a
Default average positive numbers

Simple question...I'm trying to obtain an average but only want to include
those cells with positive numbers in the average. Any ideas?
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way (array-entered: CTRL-SHIFT-ENTER or CMD-RETURN):

=AVERAGE(IF(A1:A1000,A1:A100))

In article ,
"Susannah" wrote:

Simple question...I'm trying to obtain an average but only want to include
those cells with positive numbers in the average. Any ideas?

  #3   Report Post  
Don Guillett
 
Posts: n/a
Default

this is an ARRAY formula so must be entered/edited with ctrl+shift+enter

=AVERAGE(IF(H2:H1010,H2:H10))

--
Don Guillett
SalesAid Software

"Susannah" wrote in message
...
Simple question...I'm trying to obtain an average but only want to include
those cells with positive numbers in the average. Any ideas?



  #4   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Thu, 10 Feb 2005 17:05:01 -0800, "Susannah"
wrote:

Simple question...I'm trying to obtain an average but only want to include
those cells with positive numbers in the average. Any ideas?



=SUMIF(rng,"0")/COUNTIF(rng,"0")

The above does not include "0" values.


--ron
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
Erf (the error function) for both negative and positive numbers Kara Excel Discussion (Misc queries) 0 February 7th 05 02:11 AM
Average Non-Contiguous numbers Teri Excel Worksheet Functions 1 January 20th 05 09:33 PM
Negative numbers turn positive automatically on data entry Jerri Excel Discussion (Misc queries) 4 January 8th 05 06:05 PM
How do I drop the lowest 2 numbers and then average? nightlynik Excel Worksheet Functions 3 December 6th 04 10:10 PM
adding only positive numbers Jacob Excel Discussion (Misc queries) 2 November 30th 04 01:24 AM


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