PC Review


Reply
Thread Tools Rate Thread

AVERAGE FORMULA PROBLEM

 
 
RADIANT JILL
Guest
Posts: n/a
 
      31st Jan 2008
I'm using EXCEL office 2003. I'm trying to average from several cells (which
have linked information from other pages), some of the cells have 0 in them.
I've looked up all the ways to have 0 not be included, and it works on all
the averages except when I'm bringing information from other pages. Since
this is a calendar, many of the months have no value. I've tried average IF
formula, using conditioning and formating page so 0 don't show, but no
success. Any other thoughts?
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      31st Jan 2008
You don't say what you have tried, but the normal way is

=AVERAGE(IF(A2:A20>0,A2A20))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

Note that you cannot use a whole column in array formulae (prior to excel
2007), but must use an explicit range.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"RADIANT JILL" <RADIANT (E-Mail Removed)> wrote in message
news:7ACEFD22-8A8E-4923-8019-(E-Mail Removed)...
> I'm using EXCEL office 2003. I'm trying to average from several cells
> (which
> have linked information from other pages), some of the cells have 0 in
> them.
> I've looked up all the ways to have 0 not be included, and it works on all
> the averages except when I'm bringing information from other pages. Since
> this is a calendar, many of the months have no value. I've tried average
> IF
> formula, using conditioning and formating page so 0 don't show, but no
> success. Any other thoughts?



 
Reply With Quote
 
Nigel
Guest
Posts: n/a
 
      31st Jan 2008
Just in case you have not spotted the missing colon ":" in the range setting
that Bob supplied the formula is

=AVERAGE(IF(A2:A20>0,A2:A20))

enter as Array formula.

--

Regards,
Nigel
(E-Mail Removed)



"Bob Phillips" <(E-Mail Removed)> wrote in message
news:O8tQG$(E-Mail Removed)...
> You don't say what you have tried, but the normal way is
>
> =AVERAGE(IF(A2:A20>0,A2A20))
>
> which is an array formula, it should be committed with Ctrl-Shift-Enter,
> not just Enter.
> Excel will automatically enclose the formula in braces (curly brackets),
> do not try to do this manually.
> When editing the formula, it must again be array-entered.
>
> Note that you cannot use a whole column in array formulae (prior to excel
> 2007), but must use an explicit range.
>
> --
> ---
> HTH
>
> Bob
>
>
> (there's no email, no snail mail, but somewhere should be gmail in my
> addy)
>
>
>
> "RADIANT JILL" <RADIANT (E-Mail Removed)> wrote in message
> news:7ACEFD22-8A8E-4923-8019-(E-Mail Removed)...
>> I'm using EXCEL office 2003. I'm trying to average from several cells
>> (which
>> have linked information from other pages), some of the cells have 0 in
>> them.
>> I've looked up all the ways to have 0 not be included, and it works on
>> all
>> the averages except when I'm bringing information from other pages.
>> Since
>> this is a calendar, many of the months have no value. I've tried average
>> IF
>> formula, using conditioning and formating page so 0 don't show, but no
>> success. Any other thoughts?

>
>


 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      31st Jan 2008
oops, thanks for that.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Nigel" <nigel-(E-Mail Removed)> wrote in message
news:1D3BAE38-13D4-4DD8-8E63-(E-Mail Removed)...
> Just in case you have not spotted the missing colon ":" in the range
> setting that Bob supplied the formula is
>
> =AVERAGE(IF(A2:A20>0,A2:A20))
>
> enter as Array formula.
>
> --
>
> Regards,
> Nigel
> (E-Mail Removed)
>
>
>
> "Bob Phillips" <(E-Mail Removed)> wrote in message
> news:O8tQG$(E-Mail Removed)...
>> You don't say what you have tried, but the normal way is
>>
>> =AVERAGE(IF(A2:A20>0,A2A20))
>>
>> which is an array formula, it should be committed with Ctrl-Shift-Enter,
>> not just Enter.
>> Excel will automatically enclose the formula in braces (curly brackets),
>> do not try to do this manually.
>> When editing the formula, it must again be array-entered.
>>
>> Note that you cannot use a whole column in array formulae (prior to excel
>> 2007), but must use an explicit range.
>>
>> --
>> ---
>> HTH
>>
>> Bob
>>
>>
>> (there's no email, no snail mail, but somewhere should be gmail in my
>> addy)
>>
>>
>>
>> "RADIANT JILL" <RADIANT (E-Mail Removed)> wrote in message
>> news:7ACEFD22-8A8E-4923-8019-(E-Mail Removed)...
>>> I'm using EXCEL office 2003. I'm trying to average from several cells
>>> (which
>>> have linked information from other pages), some of the cells have 0 in
>>> them.
>>> I've looked up all the ways to have 0 not be included, and it works on
>>> all
>>> the averages except when I'm bringing information from other pages.
>>> Since
>>> this is a calendar, many of the months have no value. I've tried
>>> average IF
>>> formula, using conditioning and formating page so 0 don't show, but no
>>> success. Any other thoughts?

>>
>>

>



 
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
SUM & Average Formula Problem Miki Microsoft Excel Misc 5 18th Aug 2008 03:58 PM
A formula to AVERAGE IF but only average a set number of values DonFlak@gmail.com Microsoft Excel Worksheet Functions 2 31st Jan 2008 08:28 PM
Problem With An Average IF Formula =?Utf-8?B?Y2FybA==?= Microsoft Excel Worksheet Functions 3 24th Aug 2006 09:25 PM
Moving Average Formula Problem Bob@1800-mail.com Microsoft Excel Discussion 3 21st Mar 2006 11:52 PM
Problem with formula: need rolling average of 10 months Claire G Microsoft Excel Programming 3 20th Aug 2004 02:11 AM


Features
 

Advertising
 

Newsgroups
 


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