+ Reply to Thread
Results 1 to 6 of 6

Update chart data based on answer in another cell

  1. #1
    Registered User
    Join Date
    04-20-2013
    Location
    Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    29

    Update chart data based on answer in another cell

    Hi

    I have attached a sample of the file I am working with. I need to be able to change the selected chart data based on a yes or no entry in cell $B$19.

    If the answer is "No" then I want to select the data for the chart that matches the SLA criteria for a "Non-enrollment" period along with the chart title.
    If the answer is "Yes" then I want to select the data for the chart that matches the SLA crieria for an "Enrollment" period along with the chart title.

    Let me know if you need any further info.
    Thanks in advance for your help.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Update chart data based on answer in another cell

    And plot them where? If I say no, you want a new line on each chart at 75% and if yes, a new line on each chart at 98%?
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Update chart data based on answer in another cell

    I see your "hidden" columns in rows 1 & 2 and where which is used by which chart. Use this formula in these cells =IF($B$19="No",0.75,0.90).

  4. #4
    Registered User
    Join Date
    04-20-2013
    Location
    Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: Update chart data based on answer in another cell

    Hi Dflak

    Thanks, that worked for plotting the "goal" on the charts. Now I need to do the same for the selected data.
    So if "no" is entered in cell $B$19 on the top chart (which would be % Calls Answered Within 20 Seconds) I want to display the data from cells B7:J7 in the line graph
    If "yes" is entered in cell $B$19 on the top chart (which would be % Calls Answered Within 60 Seconds) I want to display the data from cells B9:J9 in the line graph

  5. #5
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Update chart data based on answer in another cell

    The attached word document explains what I did. I thought a couple of screen shots in context would help.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-20-2013
    Location
    Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: Update chart data based on answer in another cell

    Hi dflak

    Thank you very much - this is awesome.

    allwrighty

+ 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. [SOLVED] dynamically update chart based on cell value
    By Bax in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 11-06-2015, 09:13 AM
  2. Transfer/update columns from 1 sheet to another + update chart & data selection
    By Julien355 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-29-2015, 11:54 PM
  3. Replies: 8
    Last Post: 03-08-2015, 10:02 AM
  4. Update Data selection for chart based off a referenced cell
    By mcini in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-29-2014, 05:02 PM
  5. Replies: 2
    Last Post: 02-01-2013, 02:53 AM
  6. Macro to hide rows based on cell value and update chart
    By umeshbanga in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-03-2012, 02:07 AM
  7. [SOLVED] Can you create 1 chart that will update based on filtered data?
    By Diane in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-09-2006, 09:34 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