LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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


 
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 11:29 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"