Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Adding error suppression to AVERAGE FUNCTION

How would I combine these two formulas to give me an average of non empty
cells in a range and when copied down to not display a #DIV/0 error.

This formula takes care of the "not display a #DIV/0 error".
=AVERAGE(IF(ISERR(B15:H15),"",B15:H15))

And, this formula takes care of averaging the non-empty cells.
=AVERAGE(IF(B15:H15<0,B15:H15,FALSE))

Thank you


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Adding error suppression to AVERAGE FUNCTION

"plb2862" wrote in message
...
How would I combine these two formulas to give me an average of non empty
cells in a range and when copied down to not display a #DIV/0 error.

This formula takes care of the "not display a #DIV/0 error".
=AVERAGE(IF(ISERR(B15:H15),"",B15:H15))

And, this formula takes care of averaging the non-empty cells.
=AVERAGE(IF(B15:H15<0,B15:H15,FALSE))

Thank you


I forgot to mention, I've tried combining the two
{=AVERAGE(IF(ISERR(B15:H15),"",=AVERAGE(IF(B15:H15 <0,B15:H15,FALSE))))}
but I stillget the #DIV/0 error when I copy the formula down.

Thanks again


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Adding error suppression to AVERAGE FUNCTION

Try this:
=IF(ISERROR(AVERAGE(B15:H15))," ", AVERAGE(B15:H15))

Cheers,
Jason Lepack

plb2862 wrote:
"plb2862" wrote in message
...
How would I combine these two formulas to give me an average of non empty
cells in a range and when copied down to not display a #DIV/0 error.

This formula takes care of the "not display a #DIV/0 error".
=AVERAGE(IF(ISERR(B15:H15),"",B15:H15))

And, this formula takes care of averaging the non-empty cells.
=AVERAGE(IF(B15:H15<0,B15:H15,FALSE))

Thank you


I forgot to mention, I've tried combining the two
{=AVERAGE(IF(ISERR(B15:H15),"",=AVERAGE(IF(B15:H15 <0,B15:H15,FALSE))))}
but I stillget the #DIV/0 error when I copy the formula down.

Thanks again


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Adding error suppression to AVERAGE FUNCTION

"jlepack" wrote in message
ups.com...
Try this:
=IF(ISERROR(AVERAGE(B15:H15))," ", AVERAGE(B15:H15))

Cheers,
Jason Lepack

plb2862 wrote:
"plb2862" wrote in message
...
How would I combine these two formulas to give me an average of non
empty
cells in a range and when copied down to not display a #DIV/0 error.

This formula takes care of the "not display a #DIV/0 error".
=AVERAGE(IF(ISERR(B15:H15),"",B15:H15))

And, this formula takes care of averaging the non-empty cells.
=AVERAGE(IF(B15:H15<0,B15:H15,FALSE))

Thank you


I forgot to mention, I've tried combining the two
{=AVERAGE(IF(ISERR(B15:H15),"",=AVERAGE(IF(B15:H15 <0,B15:H15,FALSE))))}
but I stillget the #DIV/0 error when I copy the formula down.

Thanks again



Works perfectly. Thank you


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
The sum and average function view all numbers as zero?? darnocnad Excel Discussion (Misc queries) 3 March 15th 10 04:22 PM
Need some comments on my Utility_Move class module. jchen Excel Worksheet Functions 0 August 21st 06 07:05 PM
Using text for the range in AVERAGE function [email protected] Excel Worksheet Functions 4 July 8th 06 12:00 PM
Calculate the average using the Lookup function or similar Lars F Excel Discussion (Misc queries) 2 November 22nd 05 11:40 AM
Average function assistance Larry L Excel Discussion (Misc queries) 8 August 26th 05 07:29 PM


All times are GMT +1. The time now is 10:01 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"