View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Barb Reinhardt
 
Posts: n/a
Default average every 6th cell in a column

Try something like this:

=AVERAGE(IF(MOD(ROW($Z$4:$Z$48),6)=4,IF(ISNUMBER($ Z$4:$Z$48)<"",$Z$4:$A$48))) for row 4

=AVERAGE(IF(MOD(ROW($Z$6:$Z$48),6)=0,IF(ISNUMBER($ Z$6:$Z$48)<"",$Z$6:$A$48))) for row 6

=AVERAGE(IF(MOD(ROW($Z$8:$Z$48),6)=2,IF(ISNUMBER($ Z$8:$Z$48)<"",$Z$8:$A$48))) for row 8

Accept each of these using CTRL SHIFT ENTER

I think that should do it.

"tamiluchi" wrote:

Hi. I need to get the average of every 6th cell in a column, excluding errors
--- three times.
The first average should be every 6th cell beginning with z4, the second
every 6th cell beginning with z6, and the third every 6th cell beginning with
z8.
Is there an easy way to achieve these 3 averages?

Tammie