#1   Report Post  
Posted to microsoft.public.excel.misc
rmeister
 
Posts: n/a
Default Array Formula Help


I am using an array formula that looks like this:

=AVERAGE(IF(Sheet1!$F$2:$F$65536=Sheet2!$A2,Sheet1 !$AE$2:$AE$5128))

The formula is working great. The problem is that if there is an error
then I get the #DIV/0!.

Is there a way I can embed something in this formula that would return
0 if error.


--
rmeister
------------------------------------------------------------------------
rmeister's Profile: http://www.excelforum.com/member.php...o&userid=30163
View this thread: http://www.excelforum.com/showthread...hreadid=528607

  #2   Report Post  
Posted to microsoft.public.excel.misc
Jim Rech
 
Posts: n/a
Default Array Formula Help

if there is an error

You might have to address the errors. Can't you trap them?

--
Jim
"rmeister" wrote in
message ...
|
| I am using an array formula that looks like this:
|
| =AVERAGE(IF(Sheet1!$F$2:$F$65536=Sheet2!$A2,Sheet1 !$AE$2:$AE$5128))
|
| The formula is working great. The problem is that if there is an error
| then I get the #DIV/0!.
|
| Is there a way I can embed something in this formula that would return
| 0 if error.
|
|
| --
| rmeister
| ------------------------------------------------------------------------
| rmeister's Profile:
http://www.excelforum.com/member.php...o&userid=30163
| View this thread: http://www.excelforum.com/showthread...hreadid=528607
|


  #3   Report Post  
Posted to microsoft.public.excel.misc
David McRitchie
 
Posts: n/a
Default Array Formula Help

See Tom Ogilvy's reply to a similar question
http://groups.google.com/group/micro...ba9e0295b0b1e9

Google Groups search:
array average DIV/0 group:*excel*

=AVERAGE(IF(Sheet1!$F$2:$F$65536=Sheet2!$A2,Sheet1 !$AE$2:$AE$5128))

would be recoded as
=IF(ISRRROR(AVERAGE(IF(Sheet1!$F$2:$F$65536=Sheet2 !$A2,Sheet1!$AE$2:$AE$5128))
),"",AVERAGE(IF(Sheet1!$F$2:$F$65536=Sheet2!$A2,Sh eet1!$AE$2:$AE$5128)) )




HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"rmeister" wrote in message
...

I am using an array formula that looks like this:

=AVERAGE(IF(Sheet1!$F$2:$F$65536=Sheet2!$A2,Sheet1 !$AE$2:$AE$5128))

The formula is working great. The problem is that if there is an error
then I get the #DIV/0!.

Is there a way I can embed something in this formula that would return
0 if error.



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
Array Formula Not Working with Range with Formulas [email protected] Excel Discussion (Misc queries) 4 February 1st 06 02:01 PM
Array formula returning wrong results TUNGANA KURMA RAJU Excel Discussion (Misc queries) 1 November 19th 05 10:29 AM
referencing the value of a cell containing an array formula KR Excel Worksheet Functions 4 July 5th 05 06:15 PM
problem with Array Formula OrdOff Excel Worksheet Functions 2 June 30th 05 04:57 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 05:43 AM.

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"