View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Toppers Toppers is offline
external usenet poster
 
Posts: 4,339
Default Faulty Averaging Formula

Phil,


Try ...

=IF((ISERROR(AVERAGE(AB31,AD31,AF31,AH31,AJ31,AL31 ,AN31))),"",AVERAGE(AB31,AD31,AF31,AH31,AJ31,AL31, AN31))

HTH

"Phil H." wrote:


In the averaged cells, AB31...AN31, it is possible they may all be
blank. Using the AVERAGE function returns the error #DIV/0!. Is there
a way to have the below formula, located in cell Z31, enter a blank?
This formula still enters ther error. Or is there another construct
for the formula?


=IF((AVERAGE(AB31,AD31,AF31,AH31,AJ31,AL31,AN31)=" #DIV/0!"),"",AVERAGE(AB31,AD31,AF31,AH31,AJ31,AL31,AN31 ))


--
Phil H.
------------------------------------------------------------------------
Phil H.'s Profile: http://www.hightechtalks.com/m229
View this thread: http://www.hightechtalks.com/t2281562