Select Data for Charts in Excel: Step-by-Step Guide

Learn how to choose the right data range.

Why does clicking a range and hitting Insert → Chart sometimes produce exactly what you wanted — and other times hand you a garbled mess with the axis where the legend should be? The answer is almost always in the data structure, not the chart settings. Learning how to select data for a chart in Excel correctly starts before you touch the Insert tab. It starts with how your spreadsheet data is arranged.

I build dashboards daily for department heads at a healthcare company, and I've learned the hard way that a chart built on the wrong range is worse than no chart at all. It looks authoritative. It misleads quietly. One bad range selection cost me a very uncomfortable silence in front of eight people when a chart told a department head exactly the wrong story. That experience changed how I approach every chart I build: set up the data first, then select.

The One Layout Rule That Makes Chart Data Selection Nearly Automatic

One header row. No merged cells. No blank columns separating your data series. That's it. When your spreadsheet data follows this structure (say, a "Monthly Sales by Region" tracker with Month in column A and regional figures in columns B through E), Excel reads it correctly on the first try. Every data series gets its own column, every column gets exactly one header, and Excel knows what's a label and what's a value.

Deviate from this and you're handing Excel an ambiguous puzzle. It will guess. It's not a good guesser.

What to Have Open Before You Start

Have your workbook open with the data visible on screen. Know which chart type you're building, not because you need to commit to it permanently, but because your data shape should match it. If you're tracking a trend over time, your date or time column needs to be the leftmost column. If you're comparing categories, your category labels go in column A. Getting into this habit now saves you from rearranging things after the chart is already inserted.

These steps apply to Microsoft 365 on both Windows and Mac, Excel 2019, and Excel 2016. I'll flag where behavior differs.


Step 1: Select Your Chart Data Range and Insert the Chart

With your data structured cleanly, selecting the chart data range is mostly a drag operation. Click the top-left cell of your data (including the header row) and drag to the bottom-right cell. For a "Department Budget Tracker" with headers in A1:E1 and data through row 13, that's A1:E13. Then go to Insert → Charts and pick your chart type. Alt+F1 inserts a default chart instantly if you want a quick preview (Windows only).

If you're new to building charts from scratch, the how to create a chart in Excel walkthrough covers the Insert tab workflow in detail. Worth reading before this step if you haven't inserted a chart before.

How to Select Non-Adjacent Cells for a Chart Using Ctrl

Here's what most beginners don't know exists: you don't have to select a single contiguous block. If your data has an ID column or a notes column you don't want in the chart, you can skip it. Select the first range, hold Ctrl (Mac: hold Cmd), then click and drag to select the second range. Excel includes both in the chart data range.

For a budget tracker where column C is an internal code you don't want charted, select A1:B13, hold Ctrl, then select D1:E13. Excel treats them as one chart data range.

Excel Online doesn't support Ctrl+click range selection for charts as of early 2026. Build non-contiguous charts in the desktop app, then open them in Online if needed.

Matching Your Data Shape to the Right Chart Type

The full breakdown of Excel chart types goes deep on this, but the short version: time-series data belongs in a line chart, part-to-whole comparisons belong in a pie or stacked bar, side-by-side category comparisons belong in a clustered column or bar chart, and distribution data belongs in a histogram or scatter plot. Selecting the right data for the wrong chart type produces a chart that's technically correct and completely unreadable.


Step 2: Change or Fix Your Chart Data Range Using the Select Data Source Dialog Box

Once you've inserted the chart, you'll often need to adjust it. Maybe the range was off by a row, or you want to add a new data series you forgot to include. Right-click the chart and select Select Data (or, with the chart selected, go to Chart Design → Select Data). This opens the Select Data Source dialog box.

From here you can edit the chart data range directly in the "Chart data range" field, or use the left panel to add, remove, or edit individual data series. The right panel controls axis labels. If you need to add a data series to an existing chart (say, you've added a new region column to your budget tracker), click Add in the left panel and define the series name and values.

Why Your Excel Chart Is Not Showing All Data

This one catches people repeatedly. When you hide rows in a dataset and then select that range for a chart, Excel ignores the hidden rows entirely. The chart data range looks correct, it spans the right rows, but the hidden data is silently dropped. Your chart will show a gap or simply skip those values with no warning.

The fix: unhide the rows before charting, or right-click the chart, go to Select Data → Hidden and Empty Cells, and change the setting to "Show data in hidden rows and columns." That option exists in the desktop app. Excel Online doesn't expose it in the same place, which is another reason to do sensitive chart work on the desktop version.

The Switch Row/Column button in the Select Data Source dialog is worth knowing too. When Excel misreads which dimension is a series and which is a category (which happens often with data that has more rows than columns), one click on Switch Row/Column usually fixes it. Beginners scroll through format menus for twenty minutes looking for this. It's right there in the dialog.


Step 3: Convert Your Range to an Excel Table So Your Chart Updates Automatically

With the chart reading the right data range, there's one more problem to solve: what happens when you add rows next month? A plain range doesn't expand. You'd need to manually update the chart data range every time. That's a maintenance burden that compounds fast when you're managing multiple dashboards.

The fix is to convert your range to an Excel Table before inserting the chart. Select any cell in your data, press Ctrl+T (Cmd+T on Mac), confirm the range includes headers, and click OK. Any chart built on a table automatically expands its data range when new rows are added. This is the closest thing to a set-it-and-forget-it chart setup Excel offers.

If you're on Excel 2016 or 2019 and the table approach isn't behaving as expected, a Named Range with an OFFSET formula is the older workaround for a dynamic chart range — though it's a significant setup step. Microsoft 365 users should just use tables.

For a concrete example of dynamic ranges in a real inventory context, the Excel charts and data visualization for retail inventory guide walks through a production-level version of this setup. Excel Online supports tables and inherits the auto-expand behavior, one area where Online actually keeps up with the desktop app.


Common Mistakes When You Select Data for a Chart in Excel

Three mistakes account for most of the chart problems I see in every forum thread on this topic.

  1. Blank rows inside the data range break the chart. Excel treats a blank row as the end of the series and either stops reading or renders a gap. Fix: delete blank rows before selecting, or use a table, which handles this more gracefully.
  2. Hidden rows silently dropping data is the most common cause of an Excel chart not showing all data. The chart looks fine. The data is just gone. Fix: use the Hidden and Empty Cells setting in the Select Data Source dialog.
  3. Selecting a totals row as part of the data series distorts every chart it touches. A totals column in a bar chart makes every other bar look negligible. Fix: exclude totals rows and columns from your selection, always. If you use Ctrl to select non-adjacent ranges, this is easy to avoid.

Pick a dataset you're already working with (not a sample file) and build one chart from scratch using the selection methods above. That's when it sticks.


Frequently Asked Questions

Why does my Excel chart ignore hidden rows when I select a data range?

By default, Excel excludes hidden rows from a chart's data series even when they fall inside the selected range. To include them, right-click the chart, open Select Data, click Hidden and Empty Cells, and change the setting to "Show data in hidden rows and columns." This option is available in Excel desktop (Windows and Mac) but not consistently in Excel Online.

How do I select data from different columns for a chart in Excel?

Select your first column range, then hold Ctrl (Windows) or Cmd (Mac) and select the additional columns you want to include. Excel treats both selections as one combined chart data range when you insert the chart. This doesn't work in Excel Online — use the desktop app for non-contiguous selections.

How do I make an Excel chart update automatically when I add new data?

Convert your data range to an Excel Table before inserting the chart. Press Ctrl+T (Cmd+T on Mac) with any cell in the range selected, confirm headers are included, and click OK. Charts built on a table automatically expand the data range when new rows are added — no manual range updates needed.

How do I change the data range for an existing chart in Excel?

Right-click the chart and choose Select Data to open the Select Data Source dialog box. From there you can edit the chart data range field directly, or add and remove individual data series using the panel on the left. Changes apply immediately to the chart.