+ Reply to Thread
Results 1 to 4 of 4

Self Expanding Graphs

  1. #1
    Registered User
    Join Date
    02-01-2012
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    65

    Self Expanding Graphs

    I have a spreadsheet that I update with new data every day. Is there a way to have my graph automatically include the new data in the graph without me having to expand the data boxes daily? I have about 10 graphs from this data and it is a pain to have to update the data range daily. However, it does not help to have the data range box be larger than the data because then the graph's x axis is too large for the graphs to be of any use.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Self Expanding Graphs

    You can set a dynamic named range to your data and use this as the source for your graph

  3. #3
    Forum Contributor
    Join Date
    12-13-2007
    Location
    Central New York
    MS-Off Ver
    Home: 2007, Office: 2010
    Posts
    158

    Re: Self Expanding Graphs

    I use the following code as a named range (it includes up to the last used cell in the range) and then use the named range as the data for the graph.

    Please Login or Register  to view this content.
    I also use the following code if it doesn't matter if the the value is greater than zero (or any other number):

    Please Login or Register  to view this content.
    You can adjust the column:row and greater/less than value as needed.

    I hope that helps.

    Mark

  4. #4
    Registered User
    Join Date
    02-01-2012
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    65

    Re: Self Expanding Graphs

    I've never used a named range before so I am unsure of what to do with this code? Do I use this code for each of the Series X and Series Y data with the respective column letter name inserted where "A" is in your code?

+ 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