How to make a bar chart with 2-level header in powerpoint? - excel

I want to create a bar chart in Powerpoint with two level header, the exact result I want is as below:
I actually created this sample chart in excel.
Now I am going to duplicate it in Powerpoint. However the most I can do is one level header as below:
When I enter the "edit data" session, it seems extending the select grid (purple grid) to include the year level is impossible. Would anyone please help me?

Select the "Select Data" dialog not the "Edit Data" dialog.
Then, select, "Edit" for the "Horizontal (Category) Axis Labels"
Then, re-select the axis to include both columns A and B.
Then select OK.
Boom, your chart works.

Related

How do I graph data from hidden cells?

The black area contains a graph, when I hide the data the graph vanishes.
I can still click on the graph and check/uncheck the "Show data in hidden rows and columns" box and I can also check the "Select data source tab" to confirm the data is still selected but it never actually appears.
What's going on and how do I fix this?
With cells hidden:
With cells un-hidden:
Confirming data sources still selected:
If your chart intersects with the rows or columns being hidden then that is most likely the issue. Right click the chart>Format Chart Area>Size & properties, then selecte something other than "Move and size with cells."

Chart only a subsection of data in my table

I have a table and I want to show only a part of that data as a chart.
This is my data
pets age
coco 3
rover 3
clifford 8
rugrat 7
doug 1
I want to make a chart that shows pets on the x-axis and age on the y-axis.
Importantly, I want to show data for pets that are at least four years old (clifford and rugrat).
In my use case, I cannot delete those rows from my table because it would adversely affect other tables in my worksheet. I would also rather avoid pivot tables. My band-aid fix is to select the data and manually select, in this example, clifford and rugrat.
You mentioned you prefer to avoid pivot tables. This solution utilizes pivot charts, NOT pivot tables.
Click anywhere in the table and go to insert->pivot chart
(Optional) In the Create PivotChart menu, select the check box to Add this data to the Data Model. This will prevent a Pivot Table from being created in the workbook.
Drag Age into the values section and Pets into the Axis (Categories) section.
Click the dropdown button on the Pets field and add a value filter. In this case you want the sum of age to be greater than 4. (Alternatively, you can use the Pets button on the pivot chart.)
Below is the final product. You may wish to adjust the y-axis, add titles, etc. from here.
In Case you have Office 365, Try this:
Let assume that the following:
"pets" is on column A
"age" is on column B
You are Working in "Sheet5"
File Name is Book2
From the name Manager, create a named range called "Titles" and with value as:
=FILTER(INDIRECT("Sheet5!$A$2:"&"$A$"&COUNTA(Sheet5!$A:$A)),INDIRECT("Sheet5!$B$2:"&"$B$"&COUNTA(Sheet5!$B:$B))>4)
From the name Manager, create another named range called "Values" and with value as:
=FILTER(INDIRECT("Sheet5!$B$2:"&"$B$"&COUNTA(Sheet5!$B:$B)),INDIRECT("Sheet5!$B$2:"&"$B$"&COUNTA(Sheet5!$B:$B))>4)
For Chart do the below:
Insert the chart type you need not based on the data in Column A & B and then
Click on the chart
From the Chart Design Tab click on "Select Data"
Under "Legend Entries (Series)" click "Add"
In The "Series Value" Box type Book2!Values (Values is the named range created before)
Under "Horizontal (Category) Axis Labels" click "Edit"
In The "Axis label range" Box type Book2!Titles (Titles is the named range created before)

Excel graph subclsification

I have this information from which I am generating a graph, but I would like to add a subclassification.
I currently have the table and graph as follows:
I would like to know if there is any way to add a sub-classification so that
something like this is left, taking the data from column A:
Thanks for your support....
Yes, you can use "Pivot Table" & "Pivot Chart".
Go to "Insert" tab and click "Pivot Table". Select your data range and the position for your table. Arrange fields as appears on screenshot attached. After that, on the same "Insert" tab click "Pivot Chart" and configure it's style to match your requirements.
This can be done without a pivot table. Remove the duplicates in column A, then edit the chart source, click the Edit button for the Horizontal Axis Labels and select A2:B7.
Or, if you want to use a pivot chart, then pull both estado and nombre into the row area of the pivot panel.

Transparent Bar Chart Excel 2016

I would like to make a stacked transparent chart like this in Excel 2016.
I cannot find the "format data series" option that this person is using.
http://excelgraphs.blogspot.ca/2013/03/overlayed-multiple-histograms.html
Can anyone please offer some suggestions?
You must select one of the series on chart, right click and on the bottom of dropdown menu you have Format Data Series .

Hiding zero values in Excel chart or diagram, legend and labeling

As you can see in the attached image, my diagram accesses the table on the left. Though the values are changing and it appears that sometimes a value is 0. In this case the entire row of the table neither should be shown in the diagram nor in the legend or labeling.
How can I implement such a diagram? Example: Table with diagram (In the example, the gas costs should not be displayed)
Right click at one of the data labels, and select Format Data Labels
from the context menu
In the Format Data Labels dialog, Click Number in left pane, then select Custom from the Category list box, and type #"" into the Format Code text box, and click Add button to add it to Type list box.
Click Close button to close the dialog. Then you can see all zero data labels are hidden.

Resources