+ Reply to Thread
Results 1 to 2 of 2

Graph only last 7 cells of a given range?

  1. #1
    Registered User
    Join Date
    10-04-2008
    Location
    Canada
    Posts
    10

    Graph only last 7 cells of a given range?

    Can I graph only the last 7 cells of a given range?

    I graph daily stats, and the range increases automatically as I add in each new day. This is ok for graphing the TOTAL stats, but how can I make it automatically graph just the last 7 cells of the range?

    When I setup a graph to graph the last 7 cells, when I add a new day, it either extends it to 8 cells or does not extend it at all which ignores the new day.
    Matthew Doucette / Xona Games
    Duality ZF: Our upcoming 4-player dual play Xbox 360 arcade 2D shoot'em up.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Suppose you have a dynamic named range chtData that contains x values in the left column and y values in the right.

    Then define

    chtLast7 Refers to =INDEX(chtData, ROWS(chtData)-6, 0):INDEX(chtData, ROWS(chtData), 0)

    chtX Refers to =INDEX(chtLast7, 0, 1)

    chtY Refers to =INDEX(chtLast7, 0, 2)

    ... and edit your series to plot chtX versus chtY
    Entia non sunt multiplicanda sine necessitate

+ 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