How to Change Data Source in Excel Chart (3 Useful Examples)

We have the forecasted and actual sales data for some months of a product. We’ll change the chart to include one or the other.

How to Change Data Source in Excel Chart


Example 1 – Change the Data Source in a Scatter Chart

We have created a scatter chart to show the forecast data and want to add Actual sales data to the chart.

How to Change Data Source in Excel Chart

  • Double-click on the chart.
  • Go to the Chart Design tab on the ribbon.
  • Click on the Select Data option.

How to Change Data Source in Excel Chart

You can add data series, remove data series, and edit the already added series. You will find these options in the “Select Data Source” window.

Case 1 – Add the New Data Series

  • Click on the Add option in Select Data Source.

Add New Data Series

  • A new window named Edit Series will appear.
  • Select cell E4 in the Series Name box. It requires the name of the column.
  • Select cells C5:C12 as the Series X Value, which will be the X-axis of the chart.
  • Select cells E5:E23 as the Series Y Value, which will be the Y-axis of the chart.
  • Press OK.

Add New Data Series

  • You will see a new line on the chart which represents the actual sales data.

Add New Data Series

Case 2 – Remove a Data Series

  • Go to the Select Data Source window in a similar way mentioned before.
  • Select the data series from the list.
  • Click on the Remove button

Remove Data Series

  • The curve for the removed data series will be erased.

Case 3 – Edit Existing Data Series

  • Go to Select Data Source by double-clicking on the chart.
  • Select the data series to edit.
  • Click on the Edit option.

Edit Existing Data Series

Read More: How to Change Chart Data Range in Excel


Example 2 – Change the Data Source in a Line Chart

Steps:

  • Double-click on the line chart and go to the Select Data option in the top ribbon.

Change Data Source in Line Chart

  • Click on the Add button to add a new data series.
  • The Edit Series window will appear.
  • You will see 2 insert boxes but in the scatter chart.
  • Select the E4 cell as the Series Name.
  • Select cells E5:E12 as the Series Values, which will be the Y-axis.

You don’t have to add the X-axis data series as the line chart will use the X-axis of the previously added data series.

Change Data Source in Line Chart

  • A new curve will be added to the line chart.

You can remove and edit data sources in a line chart in a similar way to the scatter chart.

Change Data Source in Line Chart

Read More: How to Change Chart Data Range Automatically in Excel


Example 3 – Change a Data Source in a Bar/Column Chart

Steps:

  • Go to the Chart Design tab.
  • Choose Select Data and go to the Add option.

Change Data Source in Bar/Column Chart

  • In the =Edit Series window, select cell E4 as Series Name.
  • Select the cells E5:E12 as Series Values.

Change Data Source in Bar/Column Chart

  • This adds a new data series to the bar chart.

Change Data Source in Bar/Column Chart

You can remove and edit the data source in the bar chart in a similar way as shown for the Scatter chart.


Download the Practice Workbook


Related Articles


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

Get FREE Advanced Excel Exercises with Solutions!
Osman Goni Ridwan
Osman Goni Ridwan

OSMAN GONI RIDWAN is a marine engineer who loves exploring Excel and VBA programming. Programming, to him, is a time-saving tool for efficiently managing data, files, and internet tasks. He is proficient in Rhino3D, Maxsurf, C++, MS Office, AutoCAD, Excel, and VBA and goes beyond the basics. Armed with a B.Sc in Naval Architecture & Marine Engineering from BUET, OSMAN has transitioned into the role of a content developer. Specializing in creating technical content exclusively centered around Excel... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo