How to Edit Chart Data in Excel (5 Suitable Examples)

How to Create a Chart Based on Data in Excel

If you want to change the chart Data Range automatically with the modifications of rows/columns, change the dataset to a table. This way, you won’t need to manually update the chart every time you insert or delete a new row/ column.

To convert the dataset to an Excel table:

  • Select the whole dataset.

  • Go to the Insert tab from your ribbon and click on Table from the Table group.

how to edit chart data in excel

  • A Create Table box will open. Make sure the My table has headers option is checked. Click on OK.

The dataset will be converted into an Excel table.

how to edit chart data in excel

After some modifications, the table will look like this.

how to edit chart data in excel

This is our final table which will serve as our chart data.

To create a chart out of it:

  • Select a cell in the table.
  • Go to the Insert tab from your ribbon and under the Charts group, select Recommended Charts.

how to edit chart data in excel

  • The Insert Chart box will open. Select the chart type you want from this box. We have selected Clustered Column under the Recommended Charts Click on OK.

A column chart or bar chart will appear on the spreadsheet.

how to edit chart data in excel

You can customize your chart as required.

how to edit chart data in excel

All the methods/ examples will work regardless of the chart type if you have converted the dataset into a table and have selected the chart type.


Example 1 – Modifying Excel Chart Data

We will see how to modify the chart by editing chart data within it. Suppose, the price/unit of the first product in our table has gone down, from $22 to $10. Changing the value will automatically update the chart.

Change the value by entering 10 in cell D5.

how to edit chart data in excel

You will see the change in the chart instantly.

Compare this graph with the one in the previous section. You will notice the height of the first column shortened.

Changing any values, that are present in the graph will change the chart. Changing the ID of the product will automatically update the chart as well.

We will change the cell value of cell B7 to “Product 3”.

how to edit chart data in excel

The value of the third entry will change accordingly.

Read More: How to Change Data Source in Excel Chart


Example 2 – Editing Chart Data by Adding New Values in Excel

To add new values such as columns/rows, you need to make some modifications so that the table automatically adds new rows/ columns in the table.

Steps:

  • Go to the Excel Options by clicking on the File tab and select Options.

  • In the Excel Options box, go to the Proofing tab and select Autocorrect Options.

how to edit chart data in excel

  • Ensure that the options shown in the following image are checked in the AutoFormat As You Type tab of the Autocorrect box.

how to edit chart data in excel

  • Click on OK in both the boxes.
  • Excel will automatically add new rows/columns to the table as you keep entering data in the adjacent cells.
  • To add a new value to a chart, add a new column to the table.
  • Enter the header in cell E5.

how to edit chart data in excel

  • Press Enter.

how to edit chart data in excel

  • A column will automatically be created with the formats applied in the table.
  • Enter data in the new column.

The new values will be added to the chart according to the chart data in Excel.

Read More: How to Change Chart Data Range in Excel


Example 3 – Removing Values from Chart Data

Steps:

  • Select the column you want to delete.

how to edit chart data in excel

  • Right-click on the column. A context menu will appear.
  • Select Delete and select Table Columns.

how to edit chart data in excel

The column will be deleted.

The chart will automatically be updated.

Read More: How to Edit Data Table in Excel Chart


Example 4 – Adding New Rows to Chart Data

To add new rows to chart data, ensure that you have enabled the options to automatically add new rows/columns to the table as illustrated in the Example 2. Enter a new product id in cell B9 and press Enter.

how to edit chart data in excel

A new row will automatically appear at the end of the table.

how to edit chart data in excel

Fill up the values in the row.

The chart will automatically have a new column at the end of it.

how to edit chart data in excel


Example 5 – Removing Rows from Excel Chart Data

You can remove rows to remove columns in the chart.

Steps:

  • Select the rows you want to remove. We have selected the range B8:E8.

how to edit chart data in excel

  • Right-click on the row.
  • Select Delete from the context menu and select Table Rows.

how to edit chart data in excel

This will remove the row from the table.

The set of columns from the chart that represented the particular row will be removed.

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


Download Practice Workbook


Related Articles


<< Go Back to Excel Chart DataExcel Charts | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Abrar-ur-Rahman Niloy
Abrar-ur-Rahman Niloy

Abrar-ur-Rahman Niloy, holding a B.Sc. in Naval Architecture and Marine Engineering, has contributed to Exceldemy for nearly 1.5 years. As a leader in Excel, VBA, and Content Development teams, he authored 114+ articles and assisted the Exceldemy forum. Presently, as a project writer, he prioritizes stepping out of his comfort zone, aiming for constant technical improvement. Niloy's interests encompass Excel & VBA, Pivot Table, Power Query, Python, Data Analysis, and Machine Learning libraries, showcasing his commitment to diverse... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo