Smart Systems for Home

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

Excel Chart Formulas: How to Make Charts Update

· 7 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

You cannot type a formula into a chart itself, but you can make every chart in an Excel workbook react to formulas automatically by building its source range with formulas, using dynamic named ranges or an Excel Table, and pointing the chart at that range. The shortest working version is: put your data in an Excel Table (select it and press Ctrl+T on Windows or Command+T on Mac), then create the chart with Insert > Chart and pick the type you want — the chart now extends and shrinks as formulas in the table add or remove rows. For charts that must show only a slice of data, build the source in cells using formulas such as FILTER or OFFSET, then point the chart's Select Data range at that block.

Labels and wording can differ slightly by Excel version, platform or region, and the mobile apps are far more limited than the desktop versions. These steps assume Excel for Microsoft 365 on Windows or Mac; the iPhone and Android apps can create and edit simple charts but do not offer dynamic named ranges or the full Select Data dialog.

What You'll Need

  • Excel on desktop (Windows or Mac) for the full feature set; the web version can create charts from Tables but has fewer editing options.
  • Your raw data in a single contiguous block with one header row, no merged cells and no blank rows inside it.
  • Numbers stored as numbers, not as text, so charts can plot them (left-aligned values are a common sign of text).
  • A clear idea of which column is the category axis (labels) and which columns are values (series).

Step-by-Step

  1. Clean the source first. Remove blank rows and columns inside the data block, unmerge any merged cells, and make sure each column header is unique. Charts read a rectangular range, and a stray blank row will make Excel draw gaps or stop reading the series early.
  2. Check that values are numeric. Select a value column and look at the status bar at the bottom of the window; it shows a Sum or Average only if the cells are true numbers. If it shows just a count, convert the text (Data > Text to Columns, or multiply by 1 in a helper column) before charting.
  3. Convert the data to an Excel Table. Click any cell in the data and press Ctrl+T (Command+T on Mac), confirm the header checkbox, and click OK. Give the table a name in Table Design > Table Name, for example SalesData. Any formula column you add to the table fills down automatically, and a chart built on the table grows when new rows are added.
  4. Add your formula columns inside the table. For example, type =[@Units]*[@Price] in the first cell of a new column so each row calculates total revenue. Because it is a table column, the same formula applies to every row and to new rows you type later.
  5. Insert the chart. Select a cell in the table and go to Insert, then choose a chart type from the Charts group — for example Insert Column or Bar Chart > Clustered Column. A chart appears and is already linked to the whole table.
  6. Confirm the series and axis. Right-click the chart and choose Select Data. In the dialog, check that the Legend Entries (Series) list shows the value columns you want and that Horizontal (Category) Axis Labels shows your label column. Use Edit to correct either one; labels can differ slightly between versions.
  7. Test the link. Type a new row directly beneath the table and press Enter so Excel absorbs it into the table. The chart should pick up the new point immediately. If it does not, the data was probably not a table or the chart was built on a fixed range.
  8. For a filtered chart, build a formula-driven source. In empty cells, write a formula that returns only the rows you want, for example =FILTER(SalesData[[Region]:[Total]],SalesData[Region]=$H$1) where H1 holds the region to show. On older versions without FILTER, use OFFSET with COUNTA to build a growing range, or sort and use a Table with a slicer.
  9. Point the chart at the formula output. Select the chart, open Select Data, choose Add or Edit for the series, and set the Series values to the spill range or named range produced by your formula. For a spill range, reference the top-left cell followed by the hash symbol, such as Sheet1!$J$2#.
  10. Optionally name the range. Go to Formulas > Name Manager > New and define a name such as ChartData that refers to your formula range. Then use that name in Select Data. Named ranges make it easy to move cells without breaking the chart.
  11. Format for reading. Add a chart title and axis titles via Chart Design > Add Chart Element. Right-click the value axis and set a sensible number format so large figures do not overflow, and turn on data labels only where the chart stays legible.

Common Mistakes

  • Charting a fixed range instead of a table. A chart built on A1:B10 will ignore row 11 forever. Tables, named ranges or spill ranges solve this.
  • Leaving blank rows inside the data. Excel treats the first gap as the end of the series, so half the data vanishes from the plot.
  • Storing numbers as text. Text values plot as zero or are skipped entirely, producing a flat or empty chart.
  • Including the header row as data. If the first data point is labelled "Total" or "Units", the header was treated as a series value.
  • Breaking a spill. If anything sits inside the range a FILTER result needs, Excel returns #SPILL! and the chart shows nothing. Clear the cells below and to the right.
  • Expecting charts to recalculate like cells. Charts redraw when their source changes; if a formula depends on manual calculation mode, press F9 (or set Formulas > Calculation Options to Automatic) so the chart updates.

Tips

  • Keep raw data and chart-ready data on separate sheets so formatting and filtering do not disturb the source.
  • Use a slicer on a Table (Table Design > Insert Slicer) for an interactive filter that a chart built on the table follows automatically.
  • Use conditional formulas such as IF or IFERROR inside helper columns so blank or error results become NA(); Excel leaves gaps for #N/A rather than drawing false zeros.
  • Copy the chart and paste it as a picture only when you need a frozen snapshot; a normal copy-paste stays linked.
  • Give tables and named ranges descriptive names, and document the chart's source in a cell comment so you can trace it later.

Troubleshooting

  • The chart shows nothing or a flat line. Check for text-formatted numbers, a broken spill, or a series range that points at empty cells.
  • New rows are not appearing. Confirm the data is a real Table (a blue table style and filter arrows are a giveaway). If it is a plain range, convert it, then rebuild the chart or reset the range in Select Data.
  • The chart will not update after a formula change. Set calculation to Automatic, then click the chart or press F9. If it still lags, delete and re-add the series in Select Data.
  • Wrong category labels. Open Select Data and re-point the Horizontal (Category) Axis Labels at the correct column.
  • #REF! on the chart. A referenced sheet or range was deleted or renamed. Use Name Manager to repair broken names, then reselect the series.
  • Still stuck. Save a copy, close and reopen the workbook to force a full redraw; if the file was opened from an email or download, confirm it is not in Protected View.

Frequently Asked Questions

Can I put a formula directly inside a chart title?

You can link a title to a cell by clicking the chart title, typing = in the formula bar and then clicking the cell, but you cannot type arbitrary calculation formulas into a chart element. Calculate the value in a cell and link to it.

Why does my chart not include new data?

Almost always because the chart is bound to a fixed range rather than an Excel Table, spill range or defined name. Convert the data to a table or update the range in Select Data.

Does this work on the Excel mobile app?

Partially. The phone and tablet apps can create and edit charts from a Table, but dynamic named ranges and the full Select Data dialog are desktop features.

Can I chart data from two worksheets?

Yes. In Select Data, add each series separately and point it at the range on the relevant sheet. The categories can come from only one sheet, so plan for that.

Do charts update when I filter a table?

Charts built on a Table follow the table's filters in recent Excel versions. If the chart does not respond, check whether the filter is applied to a plain range instead.