+ Reply to Thread
Results 1 to 7 of 7

Creating a Dynamic Chart

  1. #1
    Registered User
    Join Date
    10-20-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    6

    Creating a Dynamic Chart

    Hi all,

    I've got a problem that's been giving me sleepless nights.

    Please see attached the worksheet which I've created by extracting data from another sheet.
    The chart is dynamic and will change depending on the number in cell F1. which is now 13

    However, if I drag the formula down to the end of the sheet, I lose all the information in the chart.

    For example, I drag the formula to A500
    The chart is looking for 13 entries upwards of cell A500. They are all empty and so I get no data.

    Is there any way to fix this so the chart is only reading cells that contain data?

    Some help in this area would be truly awesome.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Creating a Dynamic Chart

    your dynamic range is based on how many rows there are and count back number of rows based on F1
    so essentially it gives you the last "F1" number of days

    if you now fill formula down to A500, how does your dynmanic range determine which date it should count back from?
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    10-20-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    6

    Re: Creating a Dynamic Chart

    Thanks humdingaling.

    I see what you're saying and it's making sense to me too.
    However, I've spent so much time on this that the logic is just not coming to me right now.

    Can you shed some more light here please?

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Creating a Dynamic Chart

    that was a question for you as it is your data
    i dont know how your data is setup

    is your data in column A actually a date or a text field that reads like a date?
    on your sample file it acts like the later

  5. #5
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Creating a Dynamic Chart

    the problem with your setup if that if you link the cell to another file
    if it is blank it will zero making it "real data"
    so to circumvent this you need a way to determine the different between zero being blank and zero being zero

  6. #6
    Registered User
    Join Date
    10-20-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    6

    Re: Creating a Dynamic Chart

    The data is actually a date.

  7. #7
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Creating a Dynamic Chart

    if its date then you can do a count back (F1) based on date
    use match formula to determine the "last row" then minus F1 to get your start

    with that you can then rearrange your named range based off this

    i cant get your sample file to act the way it should probably due to then "link"
    IE
    Thu Dec 24, 2015
    looks like a date, cell is formatted as date but cell reacts like text

+ 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. [SOLVED] Creating a dynamic area chart
    By VBANovice46 in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 09-03-2015, 05:40 PM
  2. Creating dynamic userform based on several file names and creating chart overlays
    By Thorn23 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-18-2014, 12:09 PM
  3. Creating dynamic chart with 2 filters
    By burlywood66 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-24-2013, 04:45 PM
  4. Problem creating a dynamic chart
    By kbaruin in forum Excel General
    Replies: 0
    Last Post: 09-20-2012, 08:55 AM
  5. Creating a dynamic inset image on a chart
    By mrice in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-03-2009, 05:29 PM
  6. Creating a Dynamic Bar Chart in Excel
    By taporctv in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-08-2007, 02:49 PM
  7. [SOLVED] Creating a dynamic asset allocation chart
    By humble_t in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-17-2006, 09:45 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