+ Reply to Thread
Results 1 to 3 of 3

Creating a dynamic data range for a chart

  1. #1
    Registered User
    Join Date
    11-22-2013
    Location
    Denver, CO
    MS-Off Ver
    Excel 2010
    Posts
    11

    Creating a dynamic data range for a chart

    I am trying to create a chart that has a data range that will automatically adjust based on the number of results I want to display. The source data is in a pivot table, but I have to pull it out of the pivot into a standard table because I do not want all of the fields in the pivot included in the chart (the pivot sorts the data based on a variance, but I do not want the variance in the chart). Here is the issue, the standard table that I'm building the chart off is hundreds of lines, but I want the chart to update based of a driver based number of records to return (e.g. 1st 10 records, 1st 20 records, etc..basically if 10 records doesn't explain what I need, I'll pull in 20, or 30...). I've seen the suggestion of using offsets in named ranges to have the chart update as the number of records changes, but my number of records does not change, but the number displayed in the chart off a fixed data set is what I'm trying to change. Any ideas?

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Creating a dynamic data range for a chart

    I would still use the offset function, except instead of using the COUNT or COUNTA to satisfy the [HEIGHT] entry, you just reference a cell that you put the number in.
    If you change the number in the cell, the range of the offset function will change accordingly.
    Please click the * icon below if I have helped.

  3. #3
    Registered User
    Join Date
    11-22-2013
    Location
    Denver, CO
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Creating a dynamic data range for a chart

    That did the trick. I'd tried that previously, but must have done something wrong because it didn't work. Thanks for the input and forcing me to try it again.

+ 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. Replies: 1
    Last Post: 09-20-2012, 08:17 PM
  2. Excel 2007 : Dynamic Chart Data Range
    By SuperMaths in forum Excel General
    Replies: 2
    Last Post: 11-05-2010, 09:51 AM
  3. Dynamic Data Range for Bar Chart
    By Juhanen II in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 05-13-2009, 09:32 AM
  4. dynamic data range chart
    By helpplease! in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 11-15-2007, 08:20 AM
  5. Can I use named range in data range box when creating pie chart?
    By BJackson in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-17-2005, 01:05 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