Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2008

Tip: Looking for answers? Try searching our database.

Average & IF & ISERROR

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ryan - 15 Jan 2008 21:57 GMT
I have a working formula currently:

{=AVERAGE(IF($B$20:$B$50=$C17,K$20:K$50))}

However, range K20:K50 can have the error "#DIV/0!".

How do I update my formula to still average my criteria (in this case,
found in C17) and not give me the "#DIV/0!" error?

Sorry if this is an easy fix, I'm trying to teach myself but have had
no luck!

Thanks, in advance, for your help.

Ryan
T. Valko - 15 Jan 2008 22:20 GMT
Try it like this (array entered**):

=AVERAGE(IF((B2:B50=C17)*(ISNUMBER(K2:K50)),K2:K50))

Or

=AVERAGE(IF(B2:B50=C17,IF(ISNUMBER(K2:K50),K2:K50)))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

Signature

Biff
Microsoft Excel MVP

>I have a working formula currently:
>
[quoted text clipped - 11 lines]
>
> Ryan
Ryan - 15 Jan 2008 22:29 GMT
That's awesome -- thanks a lot of your help, Biff!

Ryan

> Try it like this (array entered**):
>
[quoted text clipped - 28 lines]
>
> - Show quoted text -
T. Valko - 15 Jan 2008 22:47 GMT
You're welcome. Thanks for the feedback!

Signature

Biff
Microsoft Excel MVP

That's awesome -- thanks a lot of your help, Biff!

Ryan

On Jan 15, 5:20 pm, "T. Valko" <biffinp...@comcast.net> wrote:
> Try it like this (array entered**):
>
[quoted text clipped - 32 lines]
>
> - Show quoted text -
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.