How to Hide Chart Data in Excel (With Quick Steps)

In this article, we will learn to hide chart data in Excel. Sometimes, we need to protect data or show less information on the chart. In that case, we can hide the chart data. If we hide chart data, then we will see only the graph on the chart. Today, we will demonstrate step-by-step procedures to hide chart data in Excel. We will also discuss the way to hide empty cells in an Excel chart. So, without any delay, let’s start the discussion.

To explain the steps, we will use a dataset that contains information about the sales amount of some sellers for the first three months. We will hide the sales amount for February in the chart data and still show the graph on the chart.

Step-by-Step Procedures to Hide Chart Data in Excel

Let’s pay attention to the steps below to see how we can hide chart data in Excel.

STEP 1: Plotting Chart in Excel

  • First of all, we need to plot the chart.
  • To do so, select any cell of the dataset and press Ctrl + A to select all used cells.

Step-by-Step Procedures to Hide Chart Data in Excel

  • Secondly, go to the Insert tab and select the Insert Line icon. A drop-down menu will appear.
  • Select the Line icon from there. You can choose other types of charts according to your needs.

Step-by-Step Procedures to Hide Chart Data in Excel

  • As a result, you will see a line chart on the excel sheet.

Step-by-Step Procedures to Hide Chart Data in Excel

Read More: How to Edit Chart Data in Excel


STEP 2: Inserting Chart Data Table

  • In step 2, we will learn to insert the data table inside the chart.
  • For that purpose, select the chart. A plus (+) icon will appear on the top right side of the chart.
  • Now, click on the plus (+) icon to open the menu.
  • Check the Data Table from there.

Step-by-Step Procedures to Hide Chart Data in Excel

  • After checking the Data Table, the chart will look like the picture below. You can see the dataset inside the chart.

Step-by-Step Procedures to Hide Chart Data in Excel

Read More: How to Change Data Source in Excel Chart


STEP 3: Hiding Chart Data in Excel

  • In the third step, we will hide the data for February from the data table.
  • To hide chart data for February, you need to select the range D4:D9.

Step-by-Step Procedures to Hide Chart Data in Excel

  • After that, press Ctrl + 1 to open the Format Cells dialog box.
  • In the Format Cells dialog box, click on the Number tab and select Custom from the category section.
  • Then, insert three semicolons (;;;) in the Type field.
  • Click OK to proceed.

Step-by-Step Procedures to Hide Chart Data in Excel

  • As a result, you will be able to hide the data for February inside the dataset.

Step-by-Step Procedures to Hide Chart Data in Excel

  • Also, the data inside the Data Table will be hidden.

Step-by-Step Procedures to Hide Chart Data in Excel


STEP 4: Removing Legend Keys to Hide Chart Data

  • In the previous step, we hid chart data for February.
  • But we can still see the Legend Keys inside the Data Table.
  • To remove Legend Keys, select the chart and then, click on the plus (+) icon to open the menu.
  • After that, select the arrow of the Data Table element to see options.
  • Select No Legend Keys from there.

Step-by-Step Procedures to Hide Chart Data in Excel

  • As a result, you will have no Legend Keys for February.

Step-by-Step Procedures to Hide Chart Data in Excel

Read More: How to Remove One Data Point from Excel Chart


STEP 5: Erasing Chart Data Table Borders

  • We removed the Legend keys successfully in the previous step, but the Data Table Borders still exist.
  • In this step, we will erase the Table Borders.
  • For that purpose, select the chart and click on the plus (+) icon.
  • In the following step, select the arrow of the Data Table element to see options.
  • Select More Options from there.
  • This will open the Format Data Table on the right side of the sheet.

Step-by-Step Procedures to Hide Chart Data in Excel

  • Now, deselect the Table Borders from the Data Table Options.

Step-by-Step Procedures to Hide Chart Data in Excel

  • As a result, you can erase the borders from the Data Table.

Step-by-Step Procedures to Hide Chart Data in Excel


STEP 6: Deleting Chart Legends

  • In the last step, we will delete the Legends from the chart.
  • To do so, click on the Legends and press the Delete key on the keyboard.

Step-by-Step Procedures to Hide Chart Data in Excel

  • After hiding chart data, the chart will look like the picture below.

Step-by-Step Procedures to Hide Chart Data in Excel


How to Hide Empty Data in Excel Chart

We use Excel Chart to plot data on the sheet. Sometimes, we may have empty data inside the dataset. In that case, we can hide the empty data and still show a meaningful chart. To explain this topic, we will use the previous dataset. But this time, we will have empty data in Cell C7.

How to Hide Empty Data in Excel Chart

Let’s follow the steps below to see how we can hide empty data in an Excel chart.

STEPS:

  • Firstly, select the column that stores the empty cell.
  • Then, rightclick on the column index to open the Context Menu.
  • Select Hide from there.

How to Hide Empty Data in Excel Chart

  • Secondly, select all cells of the dataset.

How to Hide Empty Data in Excel Chart

  • Thirdly, go to the Insert tab and select the Insert Column icon. A drop-down menu will appear.
  • Select the Clustered Column icon from there.

  • As a result, you will see the chart on the sheet. You can see the data for January are missing because we hid them.

  • After that, select the chart and navigate to the Chart Design tab in the ribbon.
  • Then, click on the Select Data It will open the Select Data Source dialog box.

  • In the Select Data Source dialog box, click on the Hidden and Empty Cells option.

  • Check Show data in hidden rows and columns in the Hidden and Empty Cell Settings box.
  • Click OK to proceed.

  • Finally, you will see the data for January on the chart.

  • In case you have a line chart, then the chart will look like the picture below for our dataset.
  • You can see a disconnected line for January because of the empty cell.

  • To solve this, you need to select ‘Connect data points with line’ instead of Gaps in the Hidden and Empty Cell Settings box.

  • Instantly, you will have the connected line for January.


Download Practice Workbook

You can download the practice book from here.


Conclusion

In this article, we have discussed step-by-step procedures to Hide Chart Data in Excel. I hope this article will help you to perform your tasks easily. Also, we have demonstrated the method to hide empty cells in an Excel chart. Furthermore, we have also added the practice book at the beginning of the article. To test your skills, you can download it to exercise. Last of all, if you have any suggestions or queries, feel free to ask in the comment section below.


Related Articles


<< Go Back to Data for Excel Charts | Excel Charts | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Mursalin Ibne Salehin
Mursalin Ibne Salehin

Mursalin Ibne Salehin holds a BSc in Electrical and Electronics Engineering from Bangladesh University of Engineering and Technology. Over the past 2 years, he has actively contributed to the ExcelDemy project, where he authored over 150 articles. He has also led a team with content development works. Currently, he is working as a Reviewer in the ExcelDemy Project. He likes using and learning about Microsoft Office, especially Excel. He is interested in data analysis with Excel, machine learning,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo