I have a chart with two types of graphs. One shows number of items ordered and the second one - damaged items rate for each order. For the first graph I use bar chart, for the second dot chart. The question is how to remove empty/zero values in dot chart? "Hide empty values" doesn't work because date column is filled and used for bar chart.
Here is the data:
Here is the chart:
TL;DR (most likely) you are returning a
=""
for a blank cell, you need to return#N/A
.There are a couple of ways to resolve this issue depending on how you chart is setup.
Defaults
First, by default, Excel will not plot a cell that is truly empty. If I just create a chart (bar, scatter, line, etc.) and delete a data point, it will be removed from the chart, not set to 0. This depends on the
Hidden and Empty
setting which defaults toGaps
.What goes wrong
So if you are seeing a data point for a blank cell, it means one of a couple things:
Hidden and empty cells
""
. This will show as a 0 regardless of theHidden and empty
setting because it is not an empty cell.How to fix
To resolve this issue then requires one of the following changes:
Hidden and empty cells
option is at the default ofGaps
.#N/A
and the chart will hide the data point regardless of any other settings.Hidden and empty cells
setting toGaps
(instead ofZero
). This will not affect the bar chart. It will only serve to hide the missing entries on the dot plot. This only works if the cell is truly empty.