Hide a range of data labels in 'pie of pie' in Excel - excel

I have several graphs linked to a data template - The data in the template changes depending on the selected business unit.
I have approximately 50 categories in the data template linked to a pie chart and depending on the unit selected I could therefore have anything from 0-50 categories shown as a percentage in my pie chart.
What I want to do is only show categories with a value over 2% in my pie.
So, I have used the 'pie of pie' function to make the cut at 2% but I do not want to see the second pie at all.
How do I hide all the values and data labels in the pie of pie chart? Ie Can I use formatting in the pie of pie chart to hide values between 0-2%?
I have searched for a solution to this but only come accross answers on how to hide zero values:
Example: Format Data Labels, Number, Format Code: 0%;;; OR 0%;[White][=0]General;General
I need a solution to this that does not involve changing my original data (ie I do not want to group my categories under 2% into an 'other' category in my data template as the categories will change depending on the unit selected)
Any advice?

I know this is a late answer but was looking for this myself and just figured it out.. First format the second pie so that each slice has no fill (becomes invisible), to speed this up just set the first slice to no fill and then highlight each slice and select F4 to repeat last action. Next select any slice from the main chart and hit CTRL+1 to bring up the Series Option window, here set the gap width to 0% (this will centre the main pie as much as possible) and set the second plot size to 5% (which is the minimum it will allow), and you have made your second pie invisible!

Related

How do I create a contour map like the one in the attached image? (preferably in Excel, but open to other options)

I need to create a graph that properly represents the profit-maximizing model of aircraft in different scenarios. I apologize in advance for my lack of understanding in what exactly to call it. As mentioned, I have found the type of graph that would best represent this, but cannot figure out how to code/create it. I have tried using Excel and Think-Cell (and either one of them may work, I just haven't figured out how) and haven't had much luck. The image below represents the ideal graph, linked here:
Does anyone have any idea how to best go about this? Thanks in advance.
Edit: The data I have now looks like this, linked here:
You need to use the data to generate a Stacked Column chart.
Here is how I set up my own example data (before you posted your own data format):
Next, select all rows and only the first four columns of the data (42R x 5C) and Insert-->Charts-->2D Column-->Stacked Column. You should get a chart like this:
Then change the vertical axis options to show Bounds Min=1.0, Max=4.0, Units Major=0.2, Minor=0.1.
Next, select any of the data series in the chart and format the Series Options for Series Overlap=100%, Gap Width=0%.
After that, I deleted the Title and Legend, set the Line Style for both Axis to Solid Fill, Black Color. Then I changed the data series colors to be close to your example. Lastly, make sure the chart is selected (the border is highlighted with the squares at the corners), then Insert a TextBox over your data and type "B747-200P2F" and manually place it over the correct data area. Repeat this for the other series and you get this:
Finally, we'll work on the Jet Fuel price line. This series will be added to the chart, then plotted on the secondary axis and it's chart type changed to Line.
To start, select only the Jet Fuel price column (F1:F42) and then copy that range into the clipboard. Then, make sure the chart is selected and, from the Home ribbon, select Paste Special. Use the default settings, or choose Add cells as New Series, Values (Y) in Columns, check Series Names in First Row, uncheck Categories (X Labels) in First Column, then click OK. (Not much will seem different on the chart yet!)
The next steps are important to take in order (at least for me). Select only the "Jet Fuel Price" series and change the Series Options to Plot on Secondary Axis. Then change the axis options to set the range from 1.0 to 4.0 and set labels to None. Just so we're tracking, here's what I have so far:
The (almost) final step is to select only the "Jet Fuel Price" series again, then right click it and choose Change Series Chart Type. Make sure you select the Combo chart type and make the selections for each of the series chart types as indicated in this picture:
Now (finally!) just add another textbox, put in your label and set the text color to red.

excel half doughnut chart

I am trying to recreate a graph like this one in Excel
I feel the "doughnut" type is the most appropriate - but I can't figure out how to get the graph to display just half a circle. Does the feature exist at all in Excel (which I assume) or what would be the best way to do?
In your data, make the "total" of everything part of the chart's source data, which would make the total be half the total pie chart. Then go to chart format, rotate first slice 270° to get the total on the bottom, then change the fill color to "no fill" for the total, and it will essentially look like a half circle chart. Now, in the legend (if visible), click on "total" and delete it from the legend.

Excel Pie-in-Pie Chart with Second Pie Sum of 100%

I am creating a Pie-in-Pie Chart.
The image shows what it's looks like right now. I would like that the second pie (right) sums up to 100%.
The underlying data looks as follows (the forth value 28.20% is described in detail by the second pie chart which contains the following values:
What I tried: Multiply all second pie chart's values by 28.20%. The result is the given pie chart. But the second pie chart doesn't sum up to 100% if I do it that way.
Any recommendation how to tackle this?
Thanks in advance!
I do not think that it can be done. The idea of the pie-in-pie chart is that the slices of the second (smaller) pie are shown as parts of the whole.
It can be done. Calculate the percentages of the second pie so that they equal 100% then click on the labels within the pie chart to bring up the format menu on the right. Click on 'Label Options' then check the box that says 'Value from Cells'. Then you just need to select the cells with your wanted values and they will be visible on the pie slices.

Create a pie chart of ages, showing under 30's, 30-50's, and over 50's

I have an excel 2010 sheet with a bunch of customer data. I have the ages for the customers. They are a float value. I want a pie chart that shows the number of customers under 30, between 30 and 50, and over 50.
There are over 2000 rows.
I highlight the column, click inset, click the pie chart icon, and I get a disco ball coloured chart with the numbers 1-9 in the legend, excel then proceeds to crash. I get that, there are too many ages to put in a pie chart at that point.
So I've tried adding a column with a nested if statement to give me the values "Under 30", "Over 30 and under 50", and "Over 50". I thought, given there are only 3 unique values in this column, I could create a pie chart on it. Hoping it would give me the percentage of each age range. But I only get a legend value of 1 and a blank pie.
I know I'm obviously missing something really simple but I can't get my head around it. Any help is greatly appreciated.
Two things:
A pie chart does not aggregate data automatically. You need to do the aggregation and feed the aggregated data to the pie chart
A pie chart needs numbers, not text. Well, any chart does.
So, to aggregate, you can use Countif or Countifs. For example, in the screenshot below the three numbers are calculated this way:
under 30 =COUNTIFS(A:A,"<30")
30 to 50 =COUNTIFS(A:A,">=30",A:A,"<50")
over 50 =COUNTIFS(A:A,">=50")
Then select the data as in the screenshot and insert a pie chart.
Add data labels and change the data label to show percentages if you want.

how to create percentage bar chart in excel, similar to "100% stacked column" but with one variable against total value

I thought over a lot for this case, I need to plot a series as percentage value of another series.
e.g, series A is the capacity and B is the usage. I want a percentage plot of B on A. Initially I did this by creating a 100% stack chart with series B vs (A-B). I computed (A-B) on a separate column and used that as a series for this purpose. So far so good.
But now I want to generate multiple charts like this (say 12 different graphs for 12 months' usage). I have 12 columns of usage data and one column of fixed capacity data.
Is there a way to auto-generate this chart without having to create 12 intermediate columns with formula. It seems logical that Excel should have a chart type for representing A on B, just as they have one for A,B on A+B.
Sorry if I am too lengthy or confusing in my description. I did my best here to explain.
Actually I am trying to do the same thing I figured it out. If you have Excel 2007 (not sure if this feature is available in older versions). Select all 3 colums, 1 with the names of your variables, total count, and subtotal of what you are counting. Select column chart. Once the chart is created, right click to format the data series. Under series options there is a slidebar for series overlap, change this value to 100% and wahla, the the 2nd series becomes a percent of the total. Hope this helps!
Excel has common chart types, but even Microsoft doesn't have the resources to provide every possible combination of charting styles. And users are confused enough with the currently available styles.
Excel charts plot the data that they are given. If you need to plot A as a percentage of B, you will need to compute the percentage in a range, and plot this range.
The way I would do this is not to modify the ranges on the worksheet at all.
Write a new function that creates the modified range data you need so that you can return this and use it inside of ApplyTemplate method when creating the chart. The only downside to this is you would need to run a macro/vsto ribbon button to update the chart. as opposed to getting that behaviour for free with a worksheet bound approach.

Resources