+ Reply to Thread
Results 1 to 4 of 4

Dynamic Columns/Column Headers

  1. #1
    Registered User
    Join Date
    08-03-2016
    Location
    Overland Park, KS
    MS-Off Ver
    2013
    Posts
    2

    Dynamic Columns/Column Headers

    Note: Starting in this forum but this could be a better fit elsewhere depending on the solution approach.

    I have the following two variables:

    Est. Project Duration (weeks): X
    Est. Project Start Date (monday): Y

    I would like to be able to take the above information from tab A (X, Y) and create a staffing model on tab B. My thought is that if I have a start date (monday) of '8/15/16' and a project duration of '8', that I could dynamically create column headers for 8/15, 8/22, 8/29, 9/5, 9/12, 9/19, 9/26 & 10/3.

    Any thoughts?

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Dynamic Columns/Column Headers

    blad3!a1 8
    blad3!a2 15-8-2016

    blad 2 a1 =Blad3!A2
    blad 2 b1 =if(column()<=Blad3!$A$1,A$1+7,"") and drag to the right.

    and format as date.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    08-03-2016
    Location
    Overland Park, KS
    MS-Off Ver
    2013
    Posts
    2

    Re: Dynamic Columns/Column Headers

    Ah, very good. Thanks oeldere. Once I got past the references to 'blad' your solution worked as expected.

    Thanks for your help.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Dynamic Columns/Column Headers

    You're welcome. We appreciate the feedback!

    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

    It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Reorganizing data from columns with headers to a different column and row format
    By telcocook in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-27-2015, 02:24 PM
  2. copy and paste columns based on column headers
    By patwary786 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-24-2015, 11:43 PM
  3. [SOLVED] Hide columns based on dynamic headers
    By pdalal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-19-2013, 03:21 AM
  4. Search for value in multiple columns, Return Column Headers
    By Zach51215 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-30-2013, 06:49 AM
  5. Help required in Converting Rows to Columns and add Column Headers
    By Swaroopa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-08-2013, 07:15 AM
  6. Summary - Copy the columns based on column headers
    By rafiomeon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2012, 10:32 AM
  7. Help with Converting Multiple Rows to Columns and add Column Headers
    By Lmsloman in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-27-2010, 10:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1