+ Reply to Thread
Results 1 to 9 of 9

Creating a Dynamic Chart that shows from Today for 100 days forward, changing daily

  1. #1
    Registered User
    Join Date
    03-22-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2010
    Posts
    77

    Unhappy Creating a Dynamic Chart that shows from Today for 100 days forward, changing daily

    Hi,
    I have a table that contains all dates for the whole year. I need to update my charts so they are always looking at the next 100 days from the date that is TODAY, so each day the chart will be rolling forward by 1 day (I hope that makes sense)

    At the moment my charts are managing the date range using the Select data Horiziontal Axis (range), but this means I have to change it daily. Instead, I would like advice to make this an automatic process to save me work.

    Also, In the select data Legend Entries, is there a way that I can select all entries in the Series Values columns, rather than setting a fixed range, making it easier for me to add extra dates and not having to change the ranges?

    I will attach my spreadsheet shortly so that you can see what I have done, hopefully someone can assist me - I'm not an expert at excel so can you please advise in laymans terms.

    Thank you for your help

    Rob
    Attached Files Attached Files
    Last edited by Robbie8; 03-25-2016 at 04:06 AM. Reason: Add Attachment

  2. #2
    Registered User
    Join Date
    03-22-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: Creating a Dynamic Chart that shows from Today for 100 days forward, changing daily

    Attachment has now been added - sorry for the confusion - raised the issue on work PC, but it wouldnt let me upload example so had to move it to personal pc to upload (note to self - remember that for the future- doh!)

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: Creating a Dynamic Chart that shows from Today for 100 days forward, changing daily

    Following the general procedure in this article I was able to make the charts dynamic. Look on tab "Charts" to see how changing the formulas that are providing the beginning and ending dates =TODAY() and =TODAY()+100 changes the charts. Look at the name manager on the formula tab to see how the cells and formulas are named. Also make sure to look at the selected data for the charts to see how the formulas are applied.
    Here is a copy of your file with the Charts tab added: Dynamic Charts (Named ranges and formulas) - All Resourcing Requests.xlsx
    Let me know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  4. #4
    Registered User
    Join Date
    03-22-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2010
    Posts
    77

    Question Re: Creating a Dynamic Chart that shows from Today for 100 days forward, changing daily

    Hi
    I have tried to mirror the activities that you advised me to do, but i am not able to get the values to be created for the attr formulas - instead I get NA.

    I can't see what I have done wrong, and will appreciate any advice that can show advise me of the corrections that I need to make, and also provide an update to my updated version to show me?

    I have added an updated version of my spreadsheet -I added a new Sheet called Calc, where i have tried to add all the calculations to try to keep it all in one place.

    I have attached my updated sheet.

    Many thanks for your help

    Rob
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: Creating a Dynamic Chart that shows from Today for 100 days forward, changing daily

    The issue with the formulas was that since they had been placed on a sheet other than Linux Resources the Look_up array had to be refereed back to that sheet as in: ="'Linux Resources'!$A$" & MATCH(fromDate,'Linux Resources'!$A$2:$A$1094,0) & ":$A$" &MATCH(toDate,'Linux Resources'!$A$2:$A$1094,0)
    Here is a copy of the file, I changed the name so that I could remember that the charts are made dynamic by using named ranges and formulas, with the formulas applied to the charts on the Linux Assigned sheet: Dynamic Charts (Named ranges and formulas) - updated-All Resourcing Requests.xlsx
    Let me know if you have any questions.

  6. #6
    Registered User
    Join Date
    03-22-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: Creating a Dynamic Chart that shows from Today for 100 days forward, changing daily

    Hi JeteMc,
    Thats looking much better - the values have resolved now..

    I have now started creating the charts - one question - do I have to add the "'Dynamic Charts (Named ranges and formulas) - updated-All Resourcing Requests.xlsx'" in the Series Values section, or could I just add the !rngName2L..

    I'm only asking because this will tie all my graphs to the file name which seems a bit restrictive?

    Cheers

    Rob

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: Creating a Dynamic Chart that shows from Today for 100 days forward, changing daily

    When I entered the series values I typed 'Calc'!rngName2L I guess Excel changes that. Hope that is a helpful answer.

  8. #8
    Registered User
    Join Date
    03-22-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: Creating a Dynamic Chart that shows from Today for 100 days forward, changing daily

    Hi JeteMC
    Yes it is working perfectly - thank you for your help and advice

    Rob

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: Creating a Dynamic Chart that shows from Today for 100 days forward, changing daily

    You're Welcome and thank you for the feedback. If you haven't already please take a moment to mark the thread 'Solved' using the thread tools link above your first post. I hope that you have a good day.

+ 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. 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
  2. Replies: 0
    Last Post: 08-08-2013, 09:45 AM
  3. [SOLVED] dynamic pie chart that shows 3 or 4 depending on selection
    By Sam Capricci in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 04-23-2013, 01:39 PM
  4. creating a daily chart with multiple purchases each day.
    By artner0112 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-08-2011, 08:04 AM
  5. Replies: 1
    Last Post: 07-26-2010, 03:59 AM
  6. Dynamic chart that displays a range starting today
    By jimfrog in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-23-2006, 02:40 PM
  7. Creating a Dynamic Inventory List Based on Daily Sales
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-29-2005, 11:01 AM

Tags for this Thread

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