How do I graph data from hidden cells? - excel

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."

Related

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

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.

Removing PivotTable label that appears when 2 items in "Value" area

I am trying to create a PivotTable.
However I am getting an extra row appearing above my titles with the word "Values" in one of the cells. This naturally comes from the "COLUMNS" area, as a field is automatically appearing in it.
This only appears when I have 2 or more fields in the "VALUES" area. With 1 it is not present.
I don't want it and cant see a way of getting rid of it. Deleting it also removes the two fields in the "VALUES" area.
If you right click the pivot table and select "Pivot Table Options...", then in "Display" tab of the new window there is checker for "Show the Values row". Uncheck it and is should disappear.

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.

Data Grouping hiding data from Chart?

I have a chart that works and presents the data as I expect.
When I use Data Grouping of the data and collapse that data region it seems it's no longer available for the chart. Is this correct / is there a way around this (other than creating a summary data set manually?)
This is true when the chart is on the same tab or not.
The default setting on charts is to not include data from hidden columns and rows in the chart. To change this do the following:
Right-click the chart and click Select Data...
Click the button Hidden and Empty Cells
Check the box Show data in hidden rows and columns

Excel: Charts for Filtered Ranges are Showing Up Blank

I have a document that I have built tables of data into that are formula driven. I created charts for these tables and for reporting purposes applied filters to these tables to make the charts more readable. The way this works is the user selects an option from an ActiveX combo box which triggers the filter on the table thus making the chart only display the filtered values. All of this works very well except when I add more data in the form of new row or columns to my table. The result is when you select an option from the combo box the chart just appears blank. This only happens sometimes and I have yet to figure out why. The attached picture is showing what the charts data looks like when I chose select data after this problem occurs. As you can see there is data that should be displayed in the dialogue box but it appears empty, likewise the chart is empty. If I copy and paste the chart the data then appears in the new chart, until I select a different option from the combo box, then it disappears again. Very confusing and frustrating. Any ideas as to why this is occurring?
I figured it out! I needed to recalculate the sheet.
Worksheets("Sheet1").Calculate
This seems to work fine.

Resources