You can add a data table directly beneath an Excel chart so the numbers behind the bars or lines sit right under the plot area, and it takes about six clicks: select the chart, open the Chart Elements menu from the plus button at the chart's top-right corner, tick Data Table, then format it from the chart's Layout or Format options. The table stays linked to the chart's source range, so edits to the worksheet update both the chart and the table together. The exact menu labels can differ slightly by Excel version, platform and region, but the path below works on Excel for Microsoft 365 on Windows and Mac, and the same feature exists in Excel 2019 and 2021.
What You'll Need
- Excel 2019, 2021 or Microsoft 365 (Windows or Mac). The Data Table option is not available in Excel for the web or in the mobile apps, so you need the desktop application.
- An existing chart on a worksheet, built from a contiguous range of cells. If the chart is a pie, doughnut, radar or surface chart, the option is greyed out because those chart types do not support data tables.
- A worksheet with enough empty rows below the chart. The table grows downward as you add series or categories, and it will overlap cells that already contain data.
Step-by-Step
- Click once on the chart so the chart border appears with sizing handles. Do not double-click a bar or a legend entry first, because that selects an individual element instead of the whole chart, and the Chart Elements button will not appear.
- Click the plus button at the top-right corner of the chart. This is the Chart Elements button. If you cannot see it, go to the ribbon: click the chart, then on the Chart Design tab click Add Chart Element on the far left. The same menu opens.
- Tick the Data Table checkbox in the menu. A table appears immediately below the horizontal axis, showing the category labels and the values for every series.
- Choose the table style. Hover over Data Table in the menu and click the small arrow that appears to the right. You get two choices: With Legend Keys, which puts the series colour markers beside each series name so readers can match rows to lines, and No Legend Keys, which shows plain numbers. Pick With Legend Keys when the chart has more than one series.
- Format the table. Right-click the table itself and choose Format Data Table, or select it and use the Format tab that appears on the ribbon. From the task pane you can turn gridlines on or off, add a border, change the fill, and set the font size. Keep the font smaller than the chart title so the table reads as supporting detail rather than a second chart.
- Resize the plot area if needed. Adding a table shrinks the chart plot to make room. If the bars or lines now look cramped, drag the chart's bottom sizing handle downward to give the whole chart more height. The table and plot resize together.
Common Mistakes
- Trying to add a table to an unsupported chart type. Pie, doughnut, radar, surface and treemap charts do not accept data tables. The checkbox simply will not respond. Switch to a column, bar, line or area chart if the table is essential.
- Selecting a single chart element instead of the chart. If the plus button is missing, you have probably clicked a data point, axis or legend. Press Escape once and click an empty part of the chart area.
- Leaving the table on top of worksheet data. The table is drawn over the cells below the chart. If those cells hold values, they will be hidden, not moved. Insert blank rows first or move the chart to its own area.
- Expecting the table to update when you hide rows. By default the table shows every category in the chart's source range. If you filter the underlying data, the chart and table both change only if the chart was built from an Excel Table (Insert > Table) rather than a plain range.
- Confusing a chart data table with Excel's What-If Data Table. They share a name but nothing else. The What-If tool lives on the Data tab and performs sensitivity analysis; it has no connection to charts.
Tips
- Keep the number of series to three or four. Beyond that the table becomes wider than the chart and hard to read.
- Round the source numbers before charting (for example to whole numbers) so the table does not show long decimals that distract from the trend.
- Use With Legend Keys whenever there is more than one series; without them, readers have to guess which row belongs to which line.
- If you only need the numbers for a presentation slide, copy the chart and paste it as a picture after the table looks right, so the layout cannot shift on the slide.
- For a cleaner look, turn off the table's horizontal gridlines and rely on the row spacing alone.
Troubleshooting
The Data Table checkbox is greyed out. Check the chart type first: pie, doughnut, radar and surface charts do not support it. If the chart is a supported type, make sure you selected the whole chart, not an element inside it.
The table is cut off or overlaps cells. Drag the chart's bottom handle down to make room, or insert blank rows beneath the chart. If the chart sits on a worksheet with data directly below it, move the chart to an empty area or a separate sheet (right-click the chart, choose Move Chart, then New sheet).
The numbers in the table do not match the chart. The table reads from the chart's source range, so check Chart Design > Select Data and confirm the range is correct. If you have manually changed a data label, that change affects the label only, not the table.
The table disappeared after reopening the file. This usually means the file was saved in an older format. Save as .xlsx rather than .xls, then re-add the table.
The table is too small to read. Select the table, open the Format task pane and increase the font size. If the chart then looks unbalanced, increase the chart's overall height rather than shrinking the plot.
Frequently Asked Questions
Can I add a data table in Excel for the web?
No. The Data Table option is a desktop-only feature. Open the file in the Excel desktop app to add or edit one; the table will still display when the file is viewed in the browser.
Does the chart data table update automatically?
Yes. It is linked to the chart's source range, so any edit to those cells updates the chart and the table together. There is no separate refresh step.
Can I move the table above the chart?
No. A chart data table is always drawn below the category axis. If you need the numbers above the chart, build a separate formatted range of cells and place it there manually.
Why does my table show series names but no numbers?
You have likely chosen a layout that hides the values, or the series values are formatted as text in the source cells. Check that the source column is formatted as Number or General, then re-add the table.
Can I delete just the table and keep the chart?
Yes. Select the chart, open the Chart Elements menu and untick Data Table. The chart itself is untouched.
Is a chart data table the same as a PivotTable?
No. A PivotTable summarises and cross-tabulates data on the worksheet. A chart data table is simply the chart's own source numbers displayed beneath the plot.