When you hide rows or columns in Excel, the chart built from them can drop those points or turn blank. This guide shows how to switch the setting that keeps hidden cells in the chart. It suits anyone building reports in Excel 2016 or later, and you only need a workbook with an existing chart.
YouTube video: How to Show Hidden Data on Microsoft Excel Charts. Prevent Graph From Disappearing. #howto #wow
Caption availability is unknown. Check the CC control in the YouTube player.
- Video length
- 1 min 5 s
- Time to do it
- 2 minutes
- Difficulty
- Easy
- Steps
- 7
What you need
Steps
Open the workbook that holds your chart and the rows or columns behind it.
Right-click an empty area of the chart, not a bar or line, and pick Select Data from the menu.
In the Select Data Source window, click the Hidden and Empty Cells button in the bottom left corner.
Tick the box labelled Show data in hidden rows and columns, then click OK.
Click OK again to close the Select Data Source window and return to the sheet.
Hide a row or column by right-clicking its header and choosing Hide, then check the chart keeps the point.
To restore the rows later, select the rows either side of the gap, right-click a header and choose Unhide.
Tips and common mistakes
If your chart suddenly looks empty, check this setting first before rebuilding the chart.
The option is saved per chart, so repeat it for every chart that should keep hidden data.
Line charts show a gap rather than a dropped point when hidden data is included, which can look odd.
Hiding a whole column also hides its category label on the axis, so check the labels after.
Questions
Why does my Excel chart lose data when I hide rows?
Excel treats hidden cells as excluded by default, so the chart rebuilds without them. Turning on Show data in hidden rows and columns makes the chart keep using those cells.
Does this setting apply to every chart in the workbook?
No. It is stored with each chart object, so you need to set it on each chart separately.
Can I do this without the right-click menu?
Yes. Select the chart, open the Chart Design tab on the ribbon, click Select Data, then use the Hidden and Empty Cells button.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


