• Status: Solved
  • Priority: Medium
  • Security: Private
  • Views: 32
  • Last Modified:

Excel Donut Chart

I am trying to create a doughnut chart with conditional formatting to apply on the different columns. Like I would want say column A B C to show certain color. D E F to show different color; etc.

How can i achieve this please?
0
Lyn Udy
Asked:
Lyn Udy
  • 2
  • 2
1 Solution
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello,

by default each data point in a donut chart has a different color.  If you want anything dynamic, that would need to be done with VBA. Are you open to that?

What is the logic to determine the color of the data point? Can you post an example?

cheers, teylyn
0
 
Lyn UdyDonor Database AdministratorAuthor Commented:
I have attached the file and what I'm trying to create is a chart where columns A - D would have the color yellow on the chart. F - K, blue and L - S red. That is the data represented in the columns would all show the assigned color on the chart. I don't know how to go about it and I'm not good at VBA.

Thanks!
for-EE.xlsx
0
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Ok, let's wind back a bit.

I'm not sure that a donut chart is the best way to represent your data.

What aspect of the data should the chart visualize? What question should the chart answer?

You have several rows of data and 108 data points in total. A donut chart is definitely not the way to display this.

With regards to your question, where does the "conditional" come in? If columns A to D are to be always yellow, just format the data points manually. But keep in mind that the donut chart is not suitable for that data structure.

Like a pie chart, a donut should not have more than two or three data points. Definitely not 108.
0
 
Lyn UdyDonor Database AdministratorAuthor Commented:
It is ok to close the question even though I didn't get an answer to it. I'm sorry I left it open for too long.
0
 
Martin LissOlder than dirtCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now