Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
toot033
 
Posts: n/a
Default excluding valuse from an average

I am setting up a tracking spread sheet and I would like to be able to
average the weekly values and then average this for a monthly and a
cumulative monthly average. The problem that I am having is there are
certain weeks that there won't be any values. Is there a way to exclude
these reading ( I am calling them "0" in this spread sheet ) and still be
able to use the average function?
Thanks in advance for any and all help in this matter
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default excluding valuse from an average

If you leave them blank rathr than zero, AVERAGE() will ignore them.
--
Gary's Student


"toot033" wrote:

I am setting up a tracking spread sheet and I would like to be able to
average the weekly values and then average this for a monthly and a
cumulative monthly average. The problem that I am having is there are
certain weeks that there won't be any values. Is there a way to exclude
these reading ( I am calling them "0" in this spread sheet ) and still be
able to use the average function?
Thanks in advance for any and all help in this matter

  #3   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default excluding valuse from an average

Enter this an array formula Ctrl+Shift+Enter

=AVERAGE(IF(A1:A100<0,A1:A100))

or enter as normal:

=SUM(A1:A100)/(COUNTIF(A1:A100,"0")+COUNTIF(A1:A100,"<0"))

HTH

"toot033" wrote:

I am setting up a tracking spread sheet and I would like to be able to
average the weekly values and then average this for a monthly and a
cumulative monthly average. The problem that I am having is there are
certain weeks that there won't be any values. Is there a way to exclude
these reading ( I am calling them "0" in this spread sheet ) and still be
able to use the average function?
Thanks in advance for any and all help in this matter

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
Excluding Zero's from Average (SumIF / CountIF) Alex Excel Worksheet Functions 5 March 28th 06 07:27 PM
average of several cells excluding the minimum Ashley32 Excel Discussion (Misc queries) 1 March 10th 06 06:30 PM
Is there a way to get an average, excluding the lowest number? TNTraining Excel Discussion (Misc queries) 7 June 2nd 05 10:12 PM
Average non continguous cells, excluding zero's Keithlearn Excel Worksheet Functions 2 April 27th 05 01:22 PM
EXcluding Zeros from the average in a row Geo Excel Discussion (Misc queries) 4 December 31st 04 04:07 PM


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