Results 1 to 5 of 5

Conditional Formatting of Pie Chart

Threaded View

leviathanjc Conditional Formatting of Pie... 01-31-2017, 08:05 PM
dflak Re: Conditional Formatting of... 02-01-2017, 12:44 PM
leviathanjc Re: Conditional Formatting of... 02-02-2017, 11:35 PM
dflak Re: Conditional Formatting of... 02-03-2017, 11:46 AM
amir.abozead Re: Conditional Formatting of... 06-09-2019, 06:47 AM
  1. #1
    Registered User
    Join Date
    07-14-2015
    Location
    Melbourne, Australia
    MS-Off Ver
    2013
    Posts
    12

    Conditional Formatting of Pie Chart

    Hello everyone,

    My excel skills have been progressing at a rapid rate, but unfortunately I am still quite clueless when it comes to VBA and macros.

    I want my pie chart which has dynamically changing number of wedges to also reflect the conditional formatting colouring used in the data table.

    The data in column 'E' can either be Caution, On Watch, On Track, or N/A. If it is N/A, then i do not want it to show in the pie chart.

    In my attached example, we have 4 wedges, but this is subject to change based on the outputs in Column E.

    The wedges to be displayed will change from situation to situation.

    I would like the employment income wedge to be orange, investment income to be red etc etc so that the user is able to simply look at the pie chart and immediately you are able to see the relevant areas to your situation (based on whether there's a rating in column E or if it's N/A), and how you are doing in each relevant wedge.

    I have watched youtube videos and searched on google, where I have found a VBA code which I have tried to implement.

    The issue is, once I click the button to run the macro, my entire chart goes white/blank.

    Anyone able to shed some light on this? (PS: My original spreadsheet has 3 similar pie charts for different categories in the one sheet if that changes things).
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Conditional formatting in Bar chart
    By vjharry in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-21-2015, 07:27 AM
  2. Chart conditional formatting
    By mmckenna in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-25-2011, 06:01 AM
  3. VBA chart conditional formatting
    By hmmm... in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 12-16-2010, 09:07 AM
  4. Conditional Chart Formatting
    By Bob@Sun in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 04-08-2010, 06:17 AM
  5. chart conditional formatting
    By bob777 in forum Excel General
    Replies: 1
    Last Post: 11-28-2005, 06:50 AM
  6. Conditional formatting a bar chart
    By Caro-Kann Defence in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-13-2005, 11:05 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