View Single Post
  #3   Report Post  
Dave R.
 
Posts: n/a
Default

One way - which will still show errors in averaging if they occur (as
opposed to IF(ISERROR(....) ) ;

=IF(SUMPRODUCT(--(C6:AG6=""))=COLUMNS(C6:AG6),0,AVERAGE(C6:AG6))




"Patty R." <Patty wrote in message
...
I am creating a worksheet for 2005 calendar year that shows averages.

AVERAGE(C6:AG6)

However, when I the cells are empty the #div/0! displays. I have been
trying to do the IF Function to display a 0 if there is nothing to

Average.

Any help is greatly appreciated.

Thanks,
Patty R.