#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Average Error

I got some help yesterday with an average issue.
I'm attempting to average specific cells not in a range while ignoring div/o
errors.
This is what I'm using:
=AVERAGE(if(ISERROR(AC4,AC40,AC85,AC94,AC121,AC139 ,AC175,AC202,AC220,AC247,AC274),"",(AC4,AC40,AC85, AC94,AC121,AC139,AC175,AC202,AC220,AC247,AC274))(A C4,AC40,AC85,AC94,AC121,AC139,AC175,AC202,AC220,AC 247,AC274))
I can't make it work. What's wrong with it?
Thanks,
Tammie
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default Average Error

Well, a number of things.

1) You repeat this string of cells twice:
(AC4,AC40,AC85,AC94,AC121,AC139,AC175,AC202,AC220, AC247,AC274)) What are you
trying to accomplish there?

2) Your parentheses are screwed up.

I would start from scratch and suppress div/0 errors in the range you're
trying to average.

Example:

Assume the 0 values come from column B.

In column 1 you would want something like =IF(B1=0,"",C1/B1) or
=IF(ISERROR(C1/B1),"",C1/B1).

This way, you can just use =AVERAGE(AC4:AC274) and AVERAGE will ignore the
blank values.

Dave

--
Brevity is the soul of wit.


"tamiluchi" wrote:

I got some help yesterday with an average issue.
I'm attempting to average specific cells not in a range while ignoring div/o
errors.
This is what I'm using:
=AVERAGE(if(ISERROR(AC4,AC40,AC85,AC94,AC121,AC139 ,AC175,AC202,AC220,AC247,AC274),"",(AC4,AC40,AC85, AC94,AC121,AC139,AC175,AC202,AC220,AC247,AC274))(A C4,AC40,AC85,AC94,AC121,AC139,AC175,AC202,AC220,AC 247,AC274))
I can't make it work. What's wrong with it?
Thanks,
Tammie

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 256
Default Average Error

As Dave has already mentioned, it would be best to trap the errors in
the first place, if possible. Otherwise, try...

AE4:

=SUMPRODUCT(SUMIF(INDIRECT({"AC4","AC40","AC85","A C94","AC121","AC139","A
C175","AC202","AC220","AC247"}),"<#DIV/0!"))

AF4:

=SUMPRODUCT(COUNTIF(INDIRECT({"AC4","AC40","AC85", "AC94","AC121","AC139",
"AC175","AC202","AC220","AC247"}),{"<0";"=0"} ))

AG4:

=AE4/AF4

Hope this helps!

In article ,
tamiluchi wrote:

I got some help yesterday with an average issue.
I'm attempting to average specific cells not in a range while ignoring div/o
errors.
This is what I'm using:
=AVERAGE(if(ISERROR(AC4,AC40,AC85,AC94,AC121,AC139 ,AC175,AC202,AC220,AC247,AC2
74),"",(AC4,AC40,AC85,AC94,AC121,AC139,AC175,AC202 ,AC220,AC247,AC274))(AC4,AC4
0,AC85,AC94,AC121,AC139,AC175,AC202,AC220,AC247,AC 274))
I can't make it work. What's wrong with it?
Thanks,
Tammie

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
Error when save as CSV with VBA password protection on [email protected] Excel Discussion (Misc queries) 0 August 1st 06 10:50 PM
Average Formula mmmiller Excel Discussion (Misc queries) 1 July 25th 06 09:52 PM
calculate average in percentage coloumn with #DIV/! (ignore error neelsels SA Excel Discussion (Misc queries) 2 September 6th 05 02:10 PM
ERROR Pinto1uk Excel Discussion (Misc queries) 1 February 8th 05 03:15 AM
Excel error - Startup (and Acrobat PDFMaker) gxdata Setting up and Configuration of Excel 0 February 4th 05 03:44 AM


All times are GMT +1. The time now is 05:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"