+ Reply to Thread
Results 1 to 7 of 7

Link on chart sheet to select which data sheet to use

  1. #1
    Forum Contributor
    Join Date
    06-08-2012
    Location
    Panama City, FL
    MS-Off Ver
    Excel 2016
    Posts
    175

    Link on chart sheet to select which data sheet to use

    Good morning all ... your assistance is greatly appreciated.

    I have a chart on Sheet1. Next to the chart I list in four separate cells: Qtr1, Qtr2, Qtr3, Qtr4.
    Each of the four represent a separate Sheet with data for that period, including the title indicating the chosen Qtr. (All I know how to do is to link the Title Box to a worksheet cell.)

    I am attempting to permit the user to click on the Qtr of choice from the list and have that data selected to make up the chart.
    For example (just to be perfectly clear): When user is viewing Sheet1 one, the only unprotected cells are those with the Qtr choices. If user selects Qtr2 the data from the worksheet Qtr2 will be used to complete the chart. A cell in Qtr2 will contain the title text "Qtr2 Data" which will need be used for the chart title.

    If this is possible, please share your thoughts (instructions) with me. Thanks, have a good day!

  2. #2
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: Link on chart sheet to select which data sheet to use

    See attached. Change only K4 cell in the Main sheet.
    Quarter.xlsx
    Click on the star if you think I helped you

  3. #3
    Forum Contributor
    Join Date
    06-08-2012
    Location
    Panama City, FL
    MS-Off Ver
    Excel 2016
    Posts
    175

    Re: Link on chart sheet to select which data sheet to use

    Thanks adyteo, this is exactly what I'm trying to do. But, I haven't quite figured out how to do what you did.
    I made the dropdown (K4) and used the CHOOSE function (M4) as you did. I can select the number and get the correct link in M4.

    I cannot figure HOW you made the chart use the selected data. I see the chart titled "Values" and when I look at the chart filters I see the series "Values". When I select the chart I see [ =SERIES("Values",,Main!QuarterSel,1) ] in the dialogue box. Your sheetTabs are named Quarter_1, Quart_2, etc but in the Series function it uses "QuarterSel".
    Also, I would like the Title of the chart [which you show as Values] to be the name of the source of the data. (ex: Quarter_1 when that is the source).

    Please see if you can walk me through it.
    Thanks!

  4. #4
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Link on chart sheet to select which data sheet to use

    Hi,

    What an excellent template by adyteo!

    I have just modified it to reflect the 'Chart Title' as per the 'Quarter' selected (file attached).
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    06-08-2012
    Location
    Panama City, FL
    MS-Off Ver
    Excel 2016
    Posts
    175

    Re: Link on chart sheet to select which data sheet to use

    Thank you both for your help. We are close but not there yet. Obviously I'm not catching on easily.
    Please look at the attached spreadsheet and you'll see more clearly what I'm trying to do and more importantly, what I'm doing wrong.
    If you'll look at the main sheet labeled CHART you'll see where I entered notes.
    Thanks!

    QuarterlyFalls.xlsx

  6. #6
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: Link on chart sheet to select which data sheet to use

    have a look at it:
    QuarterlyFalls.xlsx

  7. #7
    Forum Contributor
    Join Date
    06-08-2012
    Location
    Panama City, FL
    MS-Off Ver
    Excel 2016
    Posts
    175

    Re: Link on chart sheet to select which data sheet to use

    Thank you for your generous help adyteo (and you too cbatrody). This makes my project much more efficient and useful.

+ 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. with userform select sheet and date and get data into result sheet
    By James__S in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-14-2014, 10:31 AM
  2. Using combo boxes to select sheet and cells for chart source data
    By Roknroll in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-27-2012, 01:56 PM
  3. How to LINK chart to the data table on sheet 1.. PLease help.
    By krissy_wix in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 05-24-2012, 05:41 PM
  4. Select data in Sheet 2 based on column values in Sheet 1
    By Snehith in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2011, 08:52 PM
  5. Link data between Report Sheet and Form Sheet
    By JIBG in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2007, 10:30 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