+ Reply to Thread
Results 1 to 4 of 4

How to change the graph data by click button

  1. #1
    Registered User
    Join Date
    01-09-2021
    Location
    india
    MS-Off Ver
    16
    Posts
    20

    How to change the graph data by click button

    If i click "Jan tab" then then graph should update the value related to jan month and then if clicked "Feb tab" then related value should update in the graph,
    Please help .
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: How to change the graph data by click button

    Hi there,

    In the attached file, I have added a 'List Box' from where you can select a month.
    The selected month will show in cell W1.
    This value is then used to populate the amount from your table in column 'W'.

    Exsample cell W3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The charts are then linked to this dynamic sets and will update to the selected month when changing it via the 'List Box'.

    Note: I have only done the formulas in column 'W' for Jan to Jun. You will need to extend for the rest of the year, you see the pattern... Also only did the first 3 Regions, Turkey still to be done.

    Let us know how you go with that.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-09-2021
    Location
    india
    MS-Off Ver
    16
    Posts
    20

    Re: How to change the graph data by click button

    Thanks a lot , It's working

  4. #4
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: How to change the graph data by click button

    ...and a second version, this time using a dropdown list.

    Simpler formula (sample in cell 'W3':
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Formula to pick up Jan to Jul. Formula to be updated for the rest of the year.
    I have also linked Turkey, so all 4 graphs should update when changing the month.

    You can hide or move the workings etc from column 'V' onwards.
    Attached Files Attached Files
    If your Question is answered; please mark it SOLVED. If you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

+ 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. How link the graph using click button in button
    By Balagurur in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-11-2021, 04:33 AM
  2. Change formula on button click.
    By ranaamerindia in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2017, 08:54 AM
  3. [SOLVED] User button to update graph series one row per click
    By cnash52 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-15-2016, 09:59 AM
  4. On Click of button cell value should change
    By kmpcan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-06-2016, 06:15 PM
  5. VBA code to switch graph type at click of a button
    By no.18shirt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-15-2013, 05:05 AM
  6. How change label value for each click button ??
    By WILKER in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 11-02-2012, 12:25 PM
  7. VBA to change writeup at the click of button.
    By arnab0711 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-18-2012, 03:19 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