Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
KMHarpe
 
Posts: n/a
Default How do I average a column without including zeros

I want to average a column that is all percentages, but I want to excluding
any cells with a 0%, what formula would I use? Thanks!!!
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Maybe..

=SUM(A1:A10)/COUNTIF(A1:A10,"<"&0)



KMHarpe wrote:

I want to average a column that is all percentages, but I want to excluding
any cells with a 0%, what formula would I use? Thanks!!!


--

Dave Peterson
  #3   Report Post  
Dave O
 
Posts: n/a
Default

There may be a snappy built-in function in Excel to do this, but until
someone responds with it, this formula will work:
=SUM(D1:D5)/COUNTIF(D1:D5,"<0")

.... where D1:D5 is the range containing your percentages.

  #4   Report Post  
pgriff
 
Posts: n/a
Default


Probably not a good idea to average %s anyway. Get your average from
the data.


--
pgriff
------------------------------------------------------------------------
pgriff's Profile: http://www.excelforum.com/member.php...o&userid=26189
View this thread: http://www.excelforum.com/showthread...hreadid=394952

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
match and count words David Excel Worksheet Functions 5 July 4th 05 02:24 AM
Average of column entries abfabrob Excel Discussion (Misc queries) 3 April 12th 05 02:31 PM
I need to find the Average from Column A - but Reference Column B BAM718 Excel Worksheet Functions 2 March 15th 05 02:42 PM
EXcluding Zeros from the average in a row Geo Excel Discussion (Misc queries) 4 December 31st 04 04:07 PM
How can I sort an entire spreadsheet from a list prod sorter Excel Worksheet Functions 4 November 17th 04 03:43 AM


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

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"