C Coach J Mar 26, 2008 #1 I have columns with 100+ values. I need averages of the odd numbered rows and then averages of the even numbered rows. Any ideas?
I have columns with 100+ values. I need averages of the odd numbered rows and then averages of the even numbered rows. Any ideas?
G Gary''s Student Mar 26, 2008 #2 for the even rows: =AVERAGE(IF(MOD(A1:A100,2)=0,A1:A100)) as an array formula for the odd rows: =AVERAGE(IF(MOD(A1:A100,2)=1,A1:A100)) as an array formula
for the even rows: =AVERAGE(IF(MOD(A1:A100,2)=0,A1:A100)) as an array formula for the odd rows: =AVERAGE(IF(MOD(A1:A100,2)=1,A1:A100)) as an array formula
D Dave Peterson Mar 27, 2008 #3 I'd use: Odd Rows: =AVERAGE(IF((ISNUMBER(A1:A100)*MOD(ROW(A1:A100),2))=1,A1:A100)) Even Rows: =AVERAGE(IF((ISNUMBER(A1:A100)*MOD(ROW(A1:A100),2))=0,A1:A100)) Both array entered.
I'd use: Odd Rows: =AVERAGE(IF((ISNUMBER(A1:A100)*MOD(ROW(A1:A100),2))=1,A1:A100)) Even Rows: =AVERAGE(IF((ISNUMBER(A1:A100)*MOD(ROW(A1:A100),2))=0,A1:A100)) Both array entered.