Select data for a chart

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

Create a combo chart with a secondary axis

Change the data series in a chart

Was this information helpful?

How can we improve it?

How can we improve it?

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!