• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Is it possible to build column references in a cell and use it in a formula?

RayMWu

New Member
I save off data extracts every quarter into a worksheet called aptly (i.e. Q1, Q2, Q3, Q4) and I need to populate a scorecard that does lookups in the current quarter's worksheet so I currently define a name in the name manager like: CurQItmNbr to be 'Q4'!$A:$A and then do +countifs(CurQItmNbr,$A2)

I thought it might be possible to either: 1) programmatically change the entries in Name Manager OR 2) to define the derivation in a worksheet like below:
  • A1 has formula +"Q" & ROUNDUP(MONTH(TODAY())/3,0)
  • A2 is: +A1 & "!$A:$A" which will then be "Q4!$A:$A" which I'm not sure if it is even usable
This is a small subset/example - I need to do it for the year, and myraid of columns for departments, person, group, etc. so any help / advice would be greatly appreciated!
 
Back
Top