Applies ToExcel pakalpojumam Microsoft 365 darbam ar Mac Excel 2024 darbam ar Mac Excel 2021 darbam ar Mac

Excel can recommend charts for you. The chart it recommends depends on how you’ve arranged the data in your worksheet. You also may have your own chart in mind. How you lay out your data in the worksheet determines which type of chart you can use.

How to arrange your data

For this chart

Arrange the data

Column, bar, line, area, surface, or radar chart

In columns or rows, like this:

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

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

XY (scatter) or bubble chart

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

Table with 3 columns, 3 rows

Stock chart

In columns or rows, using a combination of volume, opening, high, low, and closing values, plus names or dates as labels in the right order. For example, like this:

Table with 4 columns, 2 rows; Table with 2 columns, 4 rows

Tips for arranging data for charts

Here are some suggestions for what to do if your data doesn't match the suggested organization.

  • Select specific cells, columns, or rows for your data. For example, if your data has multiple columns but you want a pie chart, select the column containing your labels, and just one column of data.

  • Switch the rows and columns in the chart after you create it.

    1. Select the chart.

    2. On the Chart Design tab, select Select Data.

    3. Select Switch Row/Column.

  • Transpose your source data between the X and Y axis and paste the transposed data in a new location. Then you can use the transposed data to create your chart.

    1. Select your data.

    2. On the Home tab, select Copy Copy icon.

    3. Click where you want the new transposed data to be.

    4. Press CONTROL + OPTION + V.

    5. Select Transpose, and then click OK.

See also

Create a chart in Excel for Mac

Nepieciešama papildu palīdzība?

Vēlaties vairāk opciju?

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.