+ Reply to Thread
Results 1 to 3 of 3

[SOLVED]Line Chart from dynamic range of data

  1. #1
    Registered User
    Join Date
    06-05-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    9

    [SOLVED]Line Chart from dynamic range of data

    I'll start with my customary advanced "thank you" for even looking at this and for all the posts that have helped me...ever. Thanks to this forum, I've become quite handy with Excel formulas, but I'm still really shaky on charts.

    A little background on the spreadsheet: I have a spreadsheet that I have setup to have raw data pasted into. Long story short, it pulls the maximum reading for a given 5 minute period and returns the highest value for each 5 minute increment where there was a reading. It does this for all of the different dates entered, returning a separate data table for each date.

    What I now need is to graph the data on a line chart. Since the number of time values can be variable, I have to include the entire range (for example A3:B5002). When I graph this out, it has all of the data clumped up at the beginning and flatlines for 99% of the chart.

    I tried building dynamic named ranges using offset, but that seems to yield similar results once charted.

    See the link below where I've dumped some sample data in (it wouldn't let me upload due to the size and I can't upload only part of it without breaking the whole thing). The data I need to chart is from columns A&B on the GraphData sheet. Sheet 1 contains the chart I have been trying to use. The endgame of this is to have the end user paste in their data and *POOF* charts.

    Any help would be most appreciated. My only restriction is that I cannot have Macros/VBA.

    https://drive.google.com/file/d/0B3a...it?usp=sharing

    EDIT: I tried following the this post and using NA() instead of ""...no dice, it just puts #NA at the bottom labels instead of spaces.
    Last edited by jason.holtzen; 02-17-2014 at 06:55 PM. Reason: Solved...thanks Andy.

  2. #2
    Registered User
    Join Date
    06-05-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Line Chart from dynamic range of data

    Wow, 110 views and no ideas? I'm starting to not feel dumb for not figuring it out.

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,468

    Re: Line Chart from dynamic range of data

    just change your named ranges

    Graph1Data: =OFFSET(GraphData!$B$2,1,0,COUNT(GraphData!$B$2:$B$5002),1)
    Graph1Time: =OFFSET(GraphData!$A$2,1,0,COUNT(GraphData!$B$2:$B$5002),1)
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    06-05-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Line Chart from dynamic range of data

    Wow...I was so bloody close. Thanks, Andy. The idea I came up with over lunch was to have a cell which checked for the first empty cell then use INDIRECT in the named range, but this works well. Many props and thanks 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. Dynamic Range Column Chart w/ Dynamic Avg Line (Excel 2007)
    By BrokenBiker in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-04-2012, 11:40 AM
  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. Line Chart with Dynamic Range
    By cwik in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-24-2007, 07:21 AM

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