+ Reply to Thread
Results 1 to 4 of 4

Hide 2 scatter chart series when a specific cell is empty

  1. #1
    Forum Contributor
    Join Date
    04-26-2009
    Location
    Austin, TX
    MS-Off Ver
    Excel 2016
    Posts
    241

    Hide 2 scatter chart series when a specific cell is empty

    Hi all,

    My "Charts" worksheet includes a scatter chart called "Burnup". The scatter chart includes 2 series: "series1" and "series2".

    I would like a cell on a different worksheet, the "Data" worksheet, to toggle the visibility of these 2 series in the chart. That cell is !Data$E$7.

    Can anyone propose some VBA that will show the 2 series when the value in !Data$E$7 is greater than zero, and hide the 2 series when the value is blank or zero.

    Thanks experts!

    JayUSA

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Hide 2 scatter chart series when a specific cell is empty

    Jay,

    Here's an option that could work for you. Toggle the value in E7 and see what happens to Series 2 in Column C.
    Attached Files Attached Files
    HTH
    Regards, Jeff

  3. #3
    Forum Contributor
    Join Date
    04-26-2009
    Location
    Austin, TX
    MS-Off Ver
    Excel 2016
    Posts
    241

    Re: Hide 2 scatter chart series when a specific cell is empty

    Jeffrey, it works perfectly! Man many thanks! Jay

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Hide 2 scatter chart series when a specific cell is empty

    Hi Jay,

    Glad this worked out for you. You're welcome!

+ 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. Replies: 1
    Last Post: 12-19-2016, 01:26 PM
  2. How to create show or hide the data series in Scatter Chart
    By anandltvs in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-26-2015, 12:00 PM
  3. How to create show or hide the data series in Scatter Chart
    By anandltvs in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-26-2015, 10:50 AM
  4. [SOLVED] Charts - Show/Hide series (Scatter Plot)
    By Xx7 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-25-2014, 02:47 PM
  5. Auto Hide And Unhide Row Based On Empty Cell In Specific Range
    By jackgan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-26-2013, 09:18 AM
  6. Scatter Chart - one Series - different colors possible?
    By meiomei in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-03-2013, 11:44 AM
  7. [SOLVED] Exclude one data series from scatter chart legend (but not from the chart)
    By JayUSA in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-29-2012, 05:24 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