+ Reply to Thread
Results 1 to 4 of 4

Dynamic chart to allow for addition of new columns

  1. #1
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    Microsoft 365
    Posts
    373

    Dynamic chart to allow for addition of new columns

    Hello everyone. I'm sure this is a simple solution but it's eluding me. I have a data area that is 11 rows tall and will never change. Each week a new column is added to the end of the data. I'd like the associated chart to automatically see and include that new column. Example - Current data is located in A5:N15 and the chart data range is set to =Summary!$A$5:$N$15. At the beginning of the next week there will be a new column of data added making the new range =Summary!$A$5:$O$15 As of now I need to make that change manually. How can I make it automatically update?

    Thanks
    Click here to read the Forum Rules
    Whatever it is in life you decide to go after, go after with great ferocity.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Dynamic chart to allow for addition of new columns

    Assuming I understand, the typical first answer is to use dynamic named ranges to build the chart. See one tutorial here: https://chandoo.org/wp/dynamic-chart-data-series/
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    Microsoft 365
    Posts
    373

    Re: Dynamic chart to allow for addition of new columns

    Thanks MrShorty. It seems like all the examples on Chandoo's page refers to making the chart grow based on the addition of new rows of data, not new columns of data and the link to download the example workbook does not work.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Dynamic chart to allow for addition of new columns

    True that most examples are for adding rows (data series are in columns), but the concept is the same. Did you understand how the OFFSET() function worked for this? Did you understand how he uses the OFFSET() function as part of a named range? Adapting to a scenario like yours where you are adding columns (data series are in rows) is a simple matter of moving the counting function (COUNTA(...) in chandoo's examples) from the height argument of the offset function to the width argument of the offset function. OFFSET(A1,0,0,1,COUNTA(...))

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Create Dynamic Chart when data is not ordered in Columns
    By KingsleyZissou in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 06-23-2016, 10:15 AM
  2. VBA Dynamic addition formula
    By lamish in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2014, 05:01 AM
  3. Replies: 0
    Last Post: 11-19-2012, 09:49 PM
  4. Dynamic Addition of Columns for a single row !!
    By varunbansal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-28-2012, 12:34 PM
  5. Replies: 5
    Last Post: 07-27-2010, 05:18 AM
  6. Dynamic Addition with multiple sheets
    By kwinza in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-25-2010, 01:25 PM
  7. [SOLVED] Dynamic Control addition and Event response
    By Ken Soenen in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-22-2006, 08:10 PM

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