+ Reply to Thread
Results 1 to 8 of 8

Turn Dynamic Horizontal Chart into 12-month rolling

  1. #1
    Registered User
    Join Date
    02-11-2011
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Turn Dynamic Horizontal Chart into 12-month rolling

    Hello I am having trouble turning the Dynamic Chart attached into a 12-month rolling chart. I am not very familiar at all with the Offset formula as well as Ranges and would greatly appreciate it if someone can help me. I created a very simple dynamic chart which has been modified from the most commonly known out there to work with horizontal data and Vlookups, thanks to Andy Pope from an older post linked below. I would like to know where to insert code into the Range formulas (CTL-F3) which would create a 12-month rolling chart. Thank you once again to any that could help!

    Referenced old thread
    http://www.excelforum.com/excel-char...tal-table.html

    Vertical Dynamic 12-month rolling chart (w/out Vlookup solution modification)
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    02-11-2011
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Turn Dynamic Horizontal Chart into 12-month rolling

    sorry forgot to paste the last link for a vertical dynamic 12 month rolling chart WITHOUT the Horizontal and Vlookup modification.

    http://peltiertech.com/Excel/Charts/DynamicLast12.html

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Turn Dynamic Horizontal Chart into 12-month rolling

    You need to calculate the number of columns to offset from the Anchor cell.
    The Number of columns now becomes a static value, 12, rather than calculated.

    CHTLABEL: =OFFSET(Sheet1!$B$22,0,COUNTIF(Sheet1!$B$23:$AZ$23,">=0")-12,1,12)

    Not sure what the other data named ranges are suppose to be doing. Normally the simplest thing is to offset the CHTLABEL range.

    CHTDATA1:
    =OFFSET(CHTLABEL,1,0)

    CHTDATA2:
    =OFFSET(CHTLABEL,2,0)
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    02-11-2011
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Turn Dynamic Horizontal Chart into 12-month rolling

    Brilliant!! Thanks so much Andy! Works Perfectly..

  5. #5
    Registered User
    Join Date
    08-13-2012
    Location
    texas
    MS-Off Ver
    excel 2007
    Posts
    7

    Re: Turn Dynamic Horizontal Chart into 12-month rolling

    This is exactly what I need.
    Last edited by allstar51788; 08-29-2012 at 08:36 AM. Reason: figured it out

  6. #6
    Registered User
    Join Date
    04-09-2013
    Location
    Seattle, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Turn Dynamic Horizontal Chart into 12-month rolling

    I was having problems with my graph and then I found this walk through. For some reason the one posted on Peltier I could not get working.

    http://www.journalofaccountancy.com/...l/20125037.htm

  7. #7
    Registered User
    Join Date
    05-28-2012
    Location
    Manchester,England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Turn Dynamic Horizontal Chart into 12-month rolling

    Hi, is it possible to have the date ranges, say months as the rolling series, so x axis is fixed as the subject headings and the series roll instead of the x axis, I cant figure it out

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Turn Dynamic Horizontal Chart into 12-month rolling

    Alan Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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