View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
LostwithoutLost LostwithoutLost is offline
external usenet poster
 
Posts: 14
Default Averages using array.

Hi there,

I am using the following array formula to work out an average of a row of
cells that contain numerical data. i,e not an empty cell and the value isnt 0.

=AVERAGE((IF(E49:IV49<"",E49:IV49)),AND(IF(E49:IV 49<"0",E49:IV49)))

It works fine for empty cells, but it does not seem to ignore cells that
contain "0" or "0:00" any ideas???