+ Reply to Thread
Results 1 to 5 of 5

Been using excel 5 years yet I can't figure out what should be an easy problem.

  1. #1
    Registered User
    Join Date
    03-23-2012
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Angry Been using excel 5 years yet I can't figure out what should be an easy problem.

    Hi there, TIA for the help. I'm using excel 2010.

    I want to create a table that expands horizontally, not vertically. The limitation of "no formulas in the table header" is frustrating the daylight out of me.

    I've accomplished most of the following:
    1. Build a table object in excel that grows horizontally by one column each month (regular monthly report)
    2. Connect a chart to the excel table where the heading of the table is the x axis, and the data in the chart points to one or more rows in the table
    3. Make sure the chart is "Sticky" so that when the table expands, so does the chart
    4. Run my update macro that expands the table one column left to right
    5. When the macro expands the table, all the formulas in each row expand with it, and in addition have the header row increment by one month

    Main problem:

    The headings of the table are automatically formatted to text. I can't think of a single reason why they would do this. When I expand the table, I need the heading (which is formatted as a simple Month/Year like "Jan-13") to increment up by one month. Typically I use the following formula to achieve this outside of the table object:

    =DATE(YEAR(A1),MONTH(A1)+1,1)

    I can't use that formula in the header row of a table though.

    How the hell do I accomplish this?

    Thanks!!!
    -Tim
    Last edited by tblasko; 01-07-2013 at 06:50 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Been using excel 5 years yet I can't figure out what should be an easy problem.

    Give up on using tables, or transpose your data.

    Excel is very much row-centric.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    03-23-2012
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Been using excel 5 years yet I can't figure out what should be an easy problem.

    Hmm. OK. That's kind of lame. Not your answer, just that excel doesn't feature it. The problem is that without tables the charts don't increment. I have 20+ charts built off the data set that I have to update manually so I was hoping to have a sticky chart.

    The one workaround I've found is to insert a column that is within the range of the chart, and then copy the data "backwards" so that the column insertion expands the charts referenced data. Then I delete the trailing column. Seems like such a shoddy work around when a table could be so much more elegant.

    Thanks.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Been using excel 5 years yet I can't figure out what should be an easy problem.

    What's the obstacle to transposing the table?

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Been using excel 5 years yet I can't figure out what should be an easy problem.

    Hi Tim,

    We would love to continue to help you with your query, but first, before we can proceed, please see our Forum Rules #1 about proper thread titles and adjust accordingly...

    • To change a Title on your post, click EDIT then Go Advanced.
    • If 2 days have passed, ask a moderator to do it for you.
    HTH
    Regards, Jeff

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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