+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    01-17-2007
    Posts
    9

    Talking 12 months rolling data in graph format

    Hi

    I wonder if anyone can help with a grapfh query. I need to be able to plot 12 months rolling data on a graph, but I need to be able to refresh the data monthly and the graph to change to the next 12 months rolling data? But I don't want to have to ask the graph to change its source data every month.

    thanks
    Brissy

  2. #2
    Forum Guru sweep's Avatar
    Join Date
    04-03-2007
    Location
    Location: Location:
    MS-Off Ver
    XL2003 / 2007
    Posts
    2,448
    Hi,

    Use a named range for your graph's source data, and define the named range to dynamically select the last 12 entries.
    Sarcasm - because beating the **** out of someone is illegal.

  3. #3
    Registered User
    Join Date
    01-17-2007
    Posts
    9

    12 month rolling data on a graph, auto refresh

    that great but how do I get it to look at the last 12 months by just using a refresh button? I do not want to have to change the source data every month

    thanks

  4. #4
    Forum Guru sweep's Avatar
    Join Date
    04-03-2007
    Location
    Location: Location:
    MS-Off Ver
    XL2003 / 2007
    Posts
    2,448
    You don't need to use the refresh button.

    If you have a list of data in Column A, insert a named range that is defined like this:

    =OFFSET(Sheet1!A1,COUNT(Sheet1!A:A)-12,0,12,1)

    This refers to the last 12 entries in the row, so you can keep adding data month by month and the named range will always refer to the last 12 entries.

    Insert your named range into the graph source data, and whenever the data is updated, the graph will update as well.

    Please see attachment
    Attached Files Attached Files
    Sarcasm - because beating the **** out of someone is illegal.

  5. #5
    Registered User
    Join Date
    01-17-2007
    Posts
    9
    great thanks

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