+ Reply to Thread
Results 1 to 3 of 3

Chart with conditional chart data

  1. #1
    Forum Contributor
    Join Date
    01-06-2004
    Posts
    121

    Chart with conditional chart data

    I want to add a chart to my spreadsheet so that when Cell B2 changes (options are 1 or 2 based on radio buttons), then the chart data changes.

    IE:

    If B2 = 1
    Then the chart data range is D5:G7

    If B2 = 2
    Then the chart data range is D5:L7


    I want to do this without VBA. Is there an easy way? I tried plugging in a formula in the data range selector but, obviously, it didn't work. The range is not an area where data would be manually entered but would be populated based on pre-existing formulas in each cell in the range.

  2. #2
    Forum Contributor
    Join Date
    05-06-2016
    Location
    Cluj, Romania
    MS-Off Ver
    2007-2010
    Posts
    220

    Re: Chart with conditional chart data

    Hi,
    You must define three dynamic names:
    "Xaxis" with
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    "ValA" with
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and "ValB" with
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and using these names in Slect Data Suorce, adding the file name in front of the name defined
    for Axis label range:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    for Series values:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    see attached
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    01-06-2004
    Posts
    121

    Re: Chart with conditional chart data

    Awesome! This is all new to me but I think I can weed through it...Thanks!

+ 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. Conditional Formatting a Chart with data on the same bar!
    By Nick.simpson19 in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 02-20-2015, 04:22 AM
  2. Replies: 2
    Last Post: 10-16-2014, 08:57 PM
  3. Conditional formatting data points within a chart?
    By mrebisz in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 03-03-2009, 05:47 AM
  4. conditional formatting chart data table
    By mss5603 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 11-05-2008, 10:13 AM
  5. Conditional Formatting of Data Series in a chart
    By joe90 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-27-2008, 06:17 AM
  6. Pivot Chart points for conditional data?
    By chayton6 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-05-2006, 06:10 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