Select data for a chart

Applies To
Excel for Microsoft 365 Excel 2024 Excel 2021 Excel 2019 Excel 2016

To create a chart, you need to select at least one cell in a range of data (a set of cells). Do one of the following:

  • If your chart data is in a continuous range of cells, select any cell in that range. Your chart will include all the data in the range.
  • If your data isn't in a continuous range, select nonadjacent cells or ranges. Just make sure your selection forms a rectangle.

Tip

If you don't want to include specific rows or columns of data in a chart, you can simply hide them on the worksheet, or you can apply chart filters to show the data points you want after you create the chart.

Arrange data for charts

Excel can recommend charts for you. The charts it suggests depend on how you’ve arranged the data in your worksheet. You also may have your own charts in mind. Either way, this table lists the best ways to arrange your data for a given chart.

For this chart Arrange the data
Column, bar, line, area, surface, or radar chart
Learn more abut
column,
bar,
line,
area,
surface,
and radar charts.
In columns or rows.
Column chart Area chart
Pie chart
This chart uses one set of values (called a data series).
Learn more about
pie charts.
In one column or row, and one column or row of labels.
Pie chart
Doughnut chart
This chart can use one or more data series.
Learn more about
doughnut charts.
In one or multiple columns or rows of data, and one column or row of labels.
Dougnut chart
XY (scatter) or bubble chart
Learn more about
XY (scatter) charts
and bubble charts.
In columns, placing your x values in the first column and your y values in the next column.
Scatter chart
For bubble charts, add a third column to specify the size of the bubbles it shows, to represent the data points in the data series.
Bubble chart
Stock chart
Learn more about
stock charts.
In columns or rows, using a combination of opening, high, low, and closing values, plus names or dates as labels in the right order.
Stock chart

See Also

Create a chart

Available chart types

Add a data series to your chart

Add or remove a secondary axis in a chart in Excel

Change the data series in a chart

Need more help?

You can always ask an expert in the Excel Tech Community or get support in Communities.