+ Reply to Thread
Results 1 to 4 of 4

Dynamic chart based on chosen radio button

  1. #1
    Forum Contributor
    Join Date
    03-14-2005
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    329

    Dynamic chart based on chosen radio button

    Hello.

    I have a sheet containing measured data. The data is in 6 different columns.
    I have a chart displaying the measured data from the first column.

    I would like to have only one chart and 6 radio buttons where you can chose which column to get data from.
    Is this possible? By doing this I save a lot of space in my worksheet.

    Can someone please help?

    /Anders

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,962
    The code below was done via the macro recorder. You need one for each button desired:
    Please Login or Register  to view this content.

    Note that this code assumes you have already created your chart.
    Last edited by protonLeah; 10-19-2008 at 01:55 PM. Reason: added note
    Ben Van Johnson

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482
    You can use the INDEX formula to populate a single series that is charted without the use of code.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    11-10-2010
    Location
    NC, USA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Dynamic chart based on chosen radio button

    Quote Originally Posted by Andy Pope View Post
    You can use the INDEX formula to populate a single series that is charted without the use of code.
    That's fantastic and exactly what I need.
    Please tell me how you set up the radio buttons to return a number.

+ 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 Chart DropDown
    By noel414 in forum Excel General
    Replies: 2
    Last Post: 11-05-2008, 09:48 PM
  2. Chart with dynamic name
    By fb2003 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2008, 10:30 AM
  3. Setting a dynamic range for a chart
    By dusen in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-28-2008, 04:12 AM
  4. Pressing one radio button to select another radio button
    By raehippychick in forum Excel General
    Replies: 1
    Last Post: 09-13-2007, 11:30 PM
  5. Chart based on IF statements?
    By duskdrums in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-18-2007, 06:58 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