View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bernard Liengme Bernard Liengme is offline
external usenet poster
 
Posts: 4,393
Default getting rid of a #Div/0! error

=iF(COUNT(D9:G9)0,AVERAGE(IF(D9:G9<0,D9:G9)),"")
too late for me to test it!
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"StephenAccountant" wrote in
message ...
here is my formula - it is an array formula.

=AVERAGE(IF(D9:G9<0,D9:G9))

if the cells all show up as blank or nil - i get a #Div/0! error - how can
I
stop that from happening?