column reference

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I want to take the average of every other column in my data set and I will be
adding weeks to the data as time moves forward. Is there a relative or
absolute formula that does this?

Thanks for any help.
 
To average the odd columns:
=AVERAGE(IF(MOD(COLUMN(3:3)*ISNUMBER(3:3),2),3:3))

even columns:
=AVERAGE(IF((MOD(COLUMN(3:3),2)=0)*ISNUMBER(3:3),3:3))

Both of these are array formulas, and should be confirmed using
Ctrl+Shift+Enter, not just Enter.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top