Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-31-2017, 04:38 PM
Jiing Chiang Jiing Chiang is offline Conditional Formatting of Pie Chart Windows 10 Conditional Formatting of Pie Chart Office 2016
Novice
Conditional Formatting of Pie Chart
 
Join Date: Jan 2016
Location: Australia
Posts: 11
Jiing Chiang is on a distinguished road
Default 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
File Type: xlsm conditional formatting pie chart example.xlsm (21.3 KB, 8 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting of Pie Chart Is Conditional Formatting Possible? Wocky Project 1 01-16-2017 05:39 PM
Conditional Formatting of Pie Chart Conditional formatting that ignores other formatting rules info_guy2 Excel 1 07-03-2014 10:07 AM
Variable / Conditional Address in Chart Data SteveBump Excel 7 02-07-2014 05:05 AM
Conditional Formatting of Pie Chart Conditional Formatting. Laurie B. Excel 6 04-09-2012 05:01 PM
Conditional formatting zanat0s Excel 4 01-20-2012 03:30 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:47 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft