PC Review


Reply
Thread Tools Rate Thread

Average Function but exclude info

 
 
Linda RQ
Guest
Posts: n/a
 
      16th Apr 2010
Hi Everyone,

Excel 2003. I have a list of numbers. I use the Insert/Function then drag
the cells I want to create my formula for averaging this column. I would
like to have another cell with the average of this column but want to
exclude any number greater than 10 days. Right now my only option (because
of lack of knowldege) is to resort my list and manually exclude anything I
see that is greater than 10 days. For this particular sheet my formula is
=AVERAGE(Jan!G2:G7).

Thanks,
Linda


 
Reply With Quote
 
 
 
 
Bernard Liengme
Guest
Posts: n/a
 
      16th Apr 2010
The numbers you want to average are in column G
What column has the dates?
Do you want the average on the same sheet (ie the Jan sheet) or else where?
Want version of Excel ?
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Linda RQ" <(E-Mail Removed)> wrote in message
news:e4Z#(E-Mail Removed)...
> Hi Everyone,
>
> Excel 2003. I have a list of numbers. I use the Insert/Function then
> drag the cells I want to create my formula for averaging this column. I
> would like to have another cell with the average of this column but want
> to exclude any number greater than 10 days. Right now my only option
> (because of lack of knowldege) is to resort my list and manually exclude
> anything I see that is greater than 10 days. For this particular sheet my
> formula is =AVERAGE(Jan!G2:G7).
>
> Thanks,
> Linda
>

 
Reply With Quote
 
Joe User
Guest
Posts: n/a
 
      16th Apr 2010
"Linda RQ" <(E-Mail Removed)> wrote:
> I would like to have another cell with the average of this
> column but want to exclude any number greater than 10 days.


Your requirements are unclear, but if the following does not do exactly what
you want, perhaps you can use it as a paradigm. Enter the following array
formula[*]:

=AVERAGE(IF(Jan!G2:G7<=10,Jan!G2:G7))
[*] Enter an array formula by pressing ctrl+shift+Enter instead of just
Enter. In the Formula Bar, the formula will be enclosed by curly braces,
viz. {=formula}. You cannot type the curly braces yourself; that is just
Excel's way of displaying an array formula. Note that many array formulas
will return a value if you simply press Enter; but with sufficient testing,
you will discover that it is the wrong result. If you make a mistake,
select the cell, press F2, edit as needed, then press ctrl+shift+Enter.


----- original message -----

"Linda RQ" <(E-Mail Removed)> wrote in message
news:e4Z%(E-Mail Removed)...
> Hi Everyone,
>
> Excel 2003. I have a list of numbers. I use the Insert/Function then
> drag the cells I want to create my formula for averaging this column. I
> would like to have another cell with the average of this column but want
> to exclude any number greater than 10 days. Right now my only option
> (because of lack of knowldege) is to resort my list and manually exclude
> anything I see that is greater than 10 days. For this particular sheet my
> formula is =AVERAGE(Jan!G2:G7).
>
> Thanks,
> Linda
>


 
Reply With Quote
 
Linda RQ
Guest
Posts: n/a
 
      16th Apr 2010
Hi Bernard,

Thanks for helping me explain better....The cells I am averaging are the
number of days and are in number format with 2 decimals, so it's the numbers
in column G that I want to average but I want it to not count any numbers
greater than 10. I am using Excel 2003.

Linda

"Bernard Liengme" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The numbers you want to average are in column G
> What column has the dates?
> Do you want the average on the same sheet (ie the Jan sheet) or else
> where?
> Want version of Excel ?
> best wishes
> --
> Bernard Liengme
> Microsoft Excel MVP
> http://people.stfx.ca/bliengme
>
> "Linda RQ" <(E-Mail Removed)> wrote in message
> news:e4Z#(E-Mail Removed)...
>> Hi Everyone,
>>
>> Excel 2003. I have a list of numbers. I use the Insert/Function then
>> drag the cells I want to create my formula for averaging this column. I
>> would like to have another cell with the average of this column but want
>> to exclude any number greater than 10 days. Right now my only option
>> (because of lack of knowldege) is to resort my list and manually exclude
>> anything I see that is greater than 10 days. For this particular sheet
>> my formula is =AVERAGE(Jan!G2:G7).
>>
>> Thanks,
>> Linda
>>



 
Reply With Quote
 
Mitch
Guest
Posts: n/a
 
      16th Apr 2010
Hi Linda,

Use this formula beside g2:g7 (Column H): =IF($G2<10,"LESS10",">10")
This is to tag your values if it is less 10 or more than 10.

on another column or whatever cell you want to place your average value less
the numbers greater than 10 use this formula:

=SUMIF(G2:G8,"LESS10",F2:F8)/COUNTIF(G2:G8,"LESS10")

"Linda RQ" wrote:

> Hi Everyone,
>
> Excel 2003. I have a list of numbers. I use the Insert/Function then drag
> the cells I want to create my formula for averaging this column. I would
> like to have another cell with the average of this column but want to
> exclude any number greater than 10 days. Right now my only option (because
> of lack of knowldege) is to resort my list and manually exclude anything I
> see that is greater than 10 days. For this particular sheet my formula is
> =AVERAGE(Jan!G2:G7).
>
> Thanks,
> Linda
>
>
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I exclude the HIGH and LOW values in the =AVERAGE function DeWayne Microsoft Excel Worksheet Functions 2 17th Sep 2009 11:37 PM
Average (exclude 1 min & 1 max Value) Ken Microsoft Excel Misc 2 10th Sep 2008 01:33 PM
Exclude zero values using average function in a pivot table =?Utf-8?B?YWJz?= Microsoft Excel Misc 1 6th Jul 2006 12:25 PM
Exclude Zero Values from Average? Ken Microsoft Excel Worksheet Functions 2 19th Oct 2004 01:30 PM
Exclude Zero in Average Pam Microsoft Excel Worksheet Functions 8 26th Aug 2003 01:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:21 AM.