View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme Bernard Liengme is offline
external usenet poster
 
Posts: 4,393
Default Excel - Averaging

If there number of cells to be averaged is small
=(A2+A4+A6+A8)/((A2<0)+(A4<0)+(A6<0)+(A8<0))
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Christy" wrote in message
...
I need to average multiple cells that are not continuous and ignore zero
values. The formula to ignore =AVERAGE(IF(A2:A7<0, A2:A7,"")) does not
work
for single cell entries (i.e. A2,A4, A6, A8) Is there a way to do this?