7 replies
by dklippert
Here are some things that have been suggested:
Use AutoFilter to hide the Zero rows. (Data>AutoFilter Custom not equal zero)
or
by willyray
by dklippert
Here's a macro from Jon Peltier, Microsoft Excel MVP
"You also could use a macro that removed any labels from points with zero
values:
Sub RemoveZeroLabels()
Dim nPts As Long, iPts As Long
For iPts = 1 To ActiveChart.SeriesCollection(1).Points.Count
If WorksheetFunction.Index( _
ActiveChart.SeriesCollection(1).Values, iPts) = 0 Then
ActiveChart.SeriesCollection(1).Points(iPts).HasDataLabel = False
End If
Next
End Sub
by willyray
by willyray
by willyray
by steve=true
Here is an easy technique that does NOT involve VBA.
You can do this with using the NA() function in excel. In most charts it does not show the data point or label. Here is link describing this in more detail with sample download file:
This discussion is closed to new replies.
Trending Software posts
Sort by Trending