+ Reply to Thread
Results 1 to 8 of 8

Graph Data on for the current month

  1. #1
    Registered User
    Join Date
    06-14-2011
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2016
    Posts
    57

    Graph Data on for the current month

    Hi All,

    I am trying to create a "dynamic" graph which will allow me to change the information shown based on what month it currently is.
    So if cell A2 changes from August to February, the graph will automatically update and show the February breakdown instead of the August breakdown.

    I have attached an example of what I am using, and 2 graph to show what I am after.

    Ta muchly for any help provided.
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Graph Data on for the current month

    In the attached I've used the below formula to create a 'dynamic named range' called DCD (dynamic chart data, but you could call it whatever you like).
    I've then tied that to the chart as it's data source.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope that helps.

    BSB
    Last edited by BadlySpelledBuoy; 09-05-2018 at 01:20 AM.

  3. #3
    Valued Forum Contributor
    Join Date
    09-25-2015
    Location
    Nowy Tomysl, Poland
    MS-Off Ver
    2019, O365
    Posts
    398

    Re: Graph Data on for the current month

    I see that you are using the EX 2013 version so the fastest I would do with Power Query. The data (after transforming your table) is returned to the memory and not to the sheet.
    Based on this data, I created two pivot tables and then charts.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-14-2011
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2016
    Posts
    57

    Re: Graph Data on for the current month

    Hi BSB,

    I think you may have uploaded the wrong sheet? Data is very different and there is no graph included.
    Are you able to check and upload the correct sheet.

    Ta,

    matt

  5. #5
    Registered User
    Join Date
    06-14-2011
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2016
    Posts
    57

    Re: Graph Data on for the current month

    Hi guys,

    Thanks for the help. I've ended up slightly changing the way to select the information that I am after.

    I've decided to add on the graphing tab a quick reference for the current month and do an index match to pull across and show only the information which is relevant to the current month selected.
    I've attached the example.
    Attached Files Attached Files

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Graph Data on for the current month

    Quote Originally Posted by Vibro View Post
    I think you may have uploaded the wrong sheet? Data is very different and there is no graph included.
    You are correct. Apologies for that. Bound to happen occasionally when helping so many people....

    Correct version now attached. It does what you need and negates the need for the additional sheet, although obviously ignore if you've decided to go with your version.

    BSB
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-14-2011
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2016
    Posts
    57

    Re: Graph Data on for the current month

    Thanks, I might use this instead, safes the leg work on the other idea.

  8. #8
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Graph Data on for the current month

    Happy to help

    BSB

+ 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: 04-29-2016, 01:28 PM
  2. [SOLVED] Line Graph to current month only
    By Vibro in forum Excel Charting & Pivots
    Replies: 13
    Last Post: 08-17-2015, 08:07 PM
  3. [SOLVED] Set PivotTable Filter to Current Day, Current Week, Current Month, or Current Year
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2014, 08:31 AM
  4. Macro to create graph up to current month
    By danfullwood in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-30-2014, 04:12 AM
  5. [SOLVED] Pick a cell containing current month actulas based what the current month is.
    By vanbasten007 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-10-2014, 01:17 AM
  6. [SOLVED] Auto populate cells from data in a 6 month range starting with the current month
    By ecarnley349 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-21-2012, 07:32 PM
  7. Extracting data for month-by-month graph
    By Joseph4 in forum Excel General
    Replies: 10
    Last Post: 07-07-2012, 10:43 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