PC Review


Reply
Thread Tools Rate Thread

column reference

 
 
Mike
Guest
Posts: n/a
 
      14th Jan 2010
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.
 
Reply With Quote
 
 
 
 
Luke M
Guest
Posts: n/a
 
      14th Jan 2010
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.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Mike" wrote:

> 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.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - changing column reference based on value of other column Dharmesh Patel Microsoft Excel Misc 4 12th Oct 2009 02:41 PM
Excel - changing column reference based on value of other column Dharmesh Patel Microsoft Excel Misc 2 12th Oct 2009 01:18 PM
Column letter reference as number reference =?Utf-8?B?bWNwaGM=?= Microsoft Excel Programming 8 30th Jan 2007 03:06 PM
Row reference increment but preserve column reference =?Utf-8?B?UHdhbmRh?= Microsoft Excel Worksheet Functions 1 28th Apr 2005 01:12 PM
Macro to Reference Column Next to Current Reference dolphinv4 Microsoft Excel Misc 2 11th Apr 2005 08:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:43 AM.