Applies ToExcel for Microsoft 365 Excel for the web 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

To create a chart in Excel for the web, you need to select at least one cell in a range of data (a set of cells). Your chart will include all data in that range.

Arrange data for charts

This table lists the best ways to arrange your data for a given chart.

For this chart

Arrange the data

Column, bar, line, area, or radar chart

In columns or rows, like this:

Data arrangement for a column, bar, line, area, or radar chart

Pie chart

This chart uses one set of values (called a data series).

In one column or row, and one column or row of labels, like this:

Table with 2 columns, 3 rows; Table with 3 columns, 2 rows

Doughnut chart

This chart can use one or more data series

In multiple columns or rows of data, and one column or row of labels, like this:

Table with 3 columns, 3 rows; Table with 3 columns, 3 rows

Scatter chart

In columns, placing your x values in the first column and your y values in the next column, like this:

Data arrangement for a scatter chart

For more information about any of these charts, see Available chart types.

Need more help?

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

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.