PC Review


Reply
Thread Tools Rate Thread

Average with #div

 
 
=?Utf-8?B?QWxpbiBTdGFuY2l1?=
Guest
Posts: n/a
 
      5th Jul 2007
Hello.
I need to make an average but some of the cells in range contain#div because
they are not completed with data in range in order to make my average
function work.
What i need i a formula which calculates the average of the cells with
content, but ignores the ones with #div.
Thank you!
 
Reply With Quote
 
 
 
 
Chip Pearson
Guest
Posts: n/a
 
      5th Jul 2007
Alin,

Try the following array formula. Of course, change A1:A5 to your range:

=AVERAGE(IF(ISNUMBER(A1:A5),A1:A5,FALSE))

Since this is an array formula, you must press CTRL+SHIFT+ENTER rather than
just ENTER when you first enter the formula and whenever you edit it later.
If you do this properly, Excel will display the formula enclosed in curly
braces { }. For more information about array formulas, see
www.cpearson.com/excel/array.htm


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)



"Alin Stanciu" <(E-Mail Removed)> wrote in message
news:08B47FAA-7FC9-4D9A-B401-(E-Mail Removed)...
> Hello.
> I need to make an average but some of the cells in range contain#div
> because
> they are not completed with data in range in order to make my average
> function work.
> What i need i a formula which calculates the average of the cells with
> content, but ignores the ones with #div.
> Thank you!


 
Reply With Quote
 
=?Utf-8?B?QWxpbiBTdGFuY2l1?=
Guest
Posts: n/a
 
      7th Jul 2007
Thank you for help. Job done!

"Chip Pearson" wrote:

> Alin,
>
> Try the following array formula. Of course, change A1:A5 to your range:
>
> =AVERAGE(IF(ISNUMBER(A1:A5),A1:A5,FALSE))
>
> Since this is an array formula, you must press CTRL+SHIFT+ENTER rather than
> just ENTER when you first enter the formula and whenever you edit it later.
> If you do this properly, Excel will display the formula enclosed in curly
> braces { }. For more information about array formulas, see
> www.cpearson.com/excel/array.htm
>
>
> --
> Cordially,
> Chip Pearson
> Microsoft MVP - Excel
> Pearson Software Consulting
> www.cpearson.com
> (email on the web site)
>
>
>
> "Alin Stanciu" <(E-Mail Removed)> wrote in message
> news:08B47FAA-7FC9-4D9A-B401-(E-Mail Removed)...
> > Hello.
> > I need to make an average but some of the cells in range contain#div
> > because
> > they are not completed with data in range in order to make my average
> > function work.
> > What i need i a formula which calculates the average of the cells with
> > content, but ignores the ones with #div.
> > Thank you!

>

 
Reply With Quote
 
roland.raimondi@gmail.com
Guest
Posts: n/a
 
      26th Jul 2007
hello

have a problem that continous from your solution.

my cells are on different sheets so i try to use

=AVERAGE(IF(ISNUMBER(Sheet1:Sheet5!A1),Sheet1:Sheet5!A1))

and i use the array function, but i always get a 0 as result

where is the problem? thank you

 
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
Re: A useful AVERAGE calculation without using the built-in AVERAGE function קובי Microsoft Excel New Users 0 3rd Feb 2011 04:25 PM
Re: A useful AVERAGE calculation without using the built-in AVERAGE function Roger Govier Microsoft Excel New Users 0 16th Jan 2011 01:20 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
Find monthly average but have average automatically configured =?Utf-8?B?a2ltYmFmcmVk?= Microsoft Excel Misc 2 8th Aug 2007 12:28 AM
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Microsoft Excel Worksheet Functions 13 31st Jul 2005 03:59 PM


Features
 

Advertising
 

Newsgroups
 


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