Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Update a Graph in Excel

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Updating a graph in Excel is often as simple as pressing a key or double-clicking a cell, which automatically refreshes the visual data to match your new figures. You can do this by selecting the chart and pressing the F9 function key, or by double-clicking any cell containing data that is linked to the chart. This ensures the chart reflects the most current numbers in your dataset without needing to recreate the chart from scratch. If your data is in a table, Excel usually handles this dynamically, but sometimes manual refreshing or re-linking is required depending on how the data is structured.

What You'll Need

  • A computer running Microsoft Excel (version 2016, 2019, 2021, or Microsoft 365 are recommended for the most reliable results).
  • A dataset containing numeric data that you wish to visualize, organized in rows and columns.
  • A graph or chart already created from that data.

Step-by-Step

  1. Select the Chart: Click anywhere inside the graph you want to update. This action places the chart in "edit mode" and typically highlights the data series connected to it. You will see a blue outline around the specific data points on the chart that correspond to the cells in your spreadsheet.
  2. Verify Data Selection: Look at the "Chart Elements" button (usually a green plus sign (+) in the top-right corner of the chart) and ensure all the data series you expect are checked. If a series is missing, uncheck and recheck it to force Excel to refresh the connection.
  3. Refresh via Keyboard Shortcut: With the chart selected, press the F9 key on your keyboard. This is the fastest method for standard updates. Excel will recalculate the formulas in the background and redraw the chart to reflect the new values immediately.
  4. Refresh via Cell Modification: If the F9 key does not work, simply click on any data cell that is part of the graph’s source data and type a new number, then press Enter. As soon as you press Enter, Excel usually updates the chart automatically. If it does not, repeat step 3.
  5. Update Using Paste Special (For External Data): If your data is not in the same workbook or is imported from another source, select your new dataset in the source file. Copy it (Ctrl+C), switch to the Excel file with the chart, and right-click on the chart area. Select Paste Special. Choose "New Series" or "Replace Cells" depending on whether you are adding a new category or overwriting old data. Confirm the data range in the "Series Names in First Row" or "Categories in First Column" options to ensure the X-axis (labels) match the new data.
  6. Re-link Data Source (If Automatic Updates Fail): Sometimes, charts break their link to the data. Right-click the chart and select Select Data. In the dialog box that appears, look at the "Legend Entries (Series)" or "Horizontal (Category) Axis Labels" sections. Click Edit next to the series you want to fix, and then highlight the correct range of cells in your spreadsheet. Click OK to save the changes and the chart will update to use this new range.
  7. Convert to Table (Best Practice): To prevent future linking issues, convert your data range into an official Excel Table. Select your data and press Ctrl+T. Check "My table has headers" and click OK. Charts linked to an Excel Table will automatically expand to include new rows added below and will update automatically whenever you add new data.

Common Mistakes

One of the most common errors users make is assuming that simply adding new rows to the bottom of their dataset will automatically appear on the graph. While this works perfectly if the data is formatted as an Excel Table, it often fails if the data is just a standard range. The chart does not "see" the new rows unless you update the source range in the "Select Data" menu.

Another frequent mistake involves selecting the wrong range when re-linking. If you highlight a range that includes empty cells or text labels mixed with numbers, the graph may display zeros or incorrect categories. Always ensure the data range selected in the Select Data menu is strictly continuous and contains only the relevant numeric data and headers.

Tips

When updating a graph, it is helpful to use the Filter feature on your data table before creating the chart. If you only want to show the top 10 items in a bar chart, filter your table first, then create the chart. This prevents clutter and ensures the graph only reflects the subset of data you are currently analyzing.

For large datasets, consider using a Slicer. A Slicer is a visual filter connected to your chart. It allows you to click buttons (like a month or a product category) to instantly filter the data shown on the graph without touching the spreadsheet cells. This is excellent for dashboards where the audience needs to interact with the data.

Troubleshooting

If you press F9 or change numbers and the graph does not update, first check if the chart is using a static image or a chart type that does not support dynamic data (like a doughnut chart with complex formulas). Ensure the chart is not locked by right-clicking the chart area and looking for Format Chart Area; check the Protection tab to ensure "Locked" is not checked.

If the axis labels are not updating correctly, check if the category labels are formatted as text rather than numbers. Sometimes Excel misinterprets a column of dates as text, causing it to skip numbers when trying to plot them. Ensure the data is formatted as "Date" or "General" in the Excel ribbon.

Frequently Asked Questions

Why won't my Excel chart update automatically?

This usually happens if your data is not formatted as an Excel Table, or if the calculation options are set to manual. Go to the Formulas tab and ensure "Automatic Calculation" is selected, or try pressing F9 to force a refresh.

Can I update a chart with data from another workbook?

Yes. You can link charts to external workbooks. However, if the source file is closed or moved, the chart will show as #REF! or display old data. You must go to Select Data and re-link the range to the new file path.

How do I add a new data series to an existing chart?

Right-click the chart and select Select Data. Click Add under Legend Entries. Type a name for the new series, then click the icon next to the Series values box to select the data from your spreadsheet.

What does the green plus sign on the chart do?

This is the Chart Elements button. It toggles the visibility of chart elements like the title, axis labels, gridlines, and data labels. It is also where you go to re-link data if the chart becomes disconnected.

How do I keep the chart size fixed while updating data?

Ensure the Size & Properties options are locked. Right-click the chart and select Size & Properties. Under the Properties tab, select Don't move or size with cells. This prevents the graph from shifting or resizing when you add new rows of data.