Lesson 23: Charts

/en/excel/tables/content/

Introduction

It can be difficult to interpret Excel workbooks that contain a lot of data. Charts allow you to illustrate your workbook data graphically, which makes it easy to visualize comparisons and trends.

Watch the video below to learn more about charts.

Understanding charts

Excel has several types of charts, allowing you to choose the one that best fits your data. To use charts effectively, you'll need to understand how different charts are used.

Click the arrows in the slideshow below to learn more about the types of charts in Excel.

  • Slide 1

    Excel has a variety of chart types, each with its own advantages. Click the arrows to see some of the different types of charts available in Excel.

  • Slide 1

    Column charts use vertical bars to represent data. They can work with many different types of data, but they're most frequently used for comparing information.

  • Slide 1

    Line charts are ideal for showing trends. The data points are connected with lines, making it easy to see whether values are increasing or decreasing over time.

  • Slide 1

    Pie charts make it easy to compare proportions. Each value is shown as a slice of the pie, so it's easy to see which values make up the percentage of a whole.

  • Slide 1

    Bar charts work just like column charts, but they use horizontal rather than vertical bars.

  • Slide 1

    Area charts are similar to line charts, except the areas under the lines are filled in.

  • Slide 1

    Surface charts allow you to display data across a 3D landscape. They work best with large data sets, allowing you to see a variety of information at the same time.

  • Slide 1

In addition to chart types, you'll need to understand how to read a chart. Charts contain several elements, or parts, that can help you interpret data.

Click the buttons in the interactive below to learn about the different parts of a chart.

edit hotspotsBook sales chart

To insert a chart:

  1. Select the cells you want to chart, including the column titles and row labels. These cells will be the source data for the chart. In our example, we'll select cells A1:F6.
    Selecting cells
  2. From the Insert tab, click the desired Chart command. In our example, we'll select Column.
    Selecting Column charts from the Insert tab
  3. Choose the desired chart type from the drop-down menu.
    Selecting a chart type
  4. The Selected chart will be inserted into the worksheet.
    Chart inserted into worksheet

If you're not sure which type of chart to use, the Recommended Charts command will suggest several charts based on the source data.

Selecting recommended charts command


Chart and layout style

After inserting a chart, there are several things you may want to change about the way your data is displayed. It's easy to edit a chart's layout and style from the Design tab.

  • Excel allows you to add chart elements—including chart titles, legends, and data labels—to make your chart easier to read. To add a chart element, click the Add Chart Element command on the Design tab, then choose the desired element from the drop-down menu.
    Selecting Add Chart Element command from the Design tab
  • To edit a chart element, like a chart title, simply double-click the placeholder and begin typing.
    Editing the chart title
  • If you don't want to add chart elements individually, you can use one of Excel's predefined layouts. Simply click the Quick Layout command, then choose the desired layout from the drop-down menu.
    Selecting the quick layout command
  • Excel also includes several chart styles, which allow you to quickly modify the look and feel of your chart. To change the chart style, select the desired style from the Chart styles group. You can also click the drop-down arrow on the right to see more styles.
    Selecting a chart style

You can also use the chart formatting shortcut buttons to quickly add chart elements, change the chart style, and filter chart data.

Chart formatting shortcut buttons

edit hotspots

Other chart options

There are many other ways to customize and organize your charts. For example, Excel allows you to rearrange a chart's data, change the chart type, and even move the chart to a different location in a workbook.

To switch row and column data:

Sometimes you may want to change the way charts group your data. For example, in the chart below Book Sales data is grouped by genre, with columns for each month. However, we could switch the rows and columns so the chart will group the data by month, with columns for each genre. In both cases, the chart contains the same data—it's just organized differently.

chart of book sales grouped by genre
  1. Select the chart you want to modify.
  2. From the Design tab, select the Switch Row/Column command.
    Selecting the Switch Column Row command
  3. The rows and columns will be switched. In our example, the data is now grouped by month, with columns for each genre.
    book sales grouped by month

To change the chart type:

If you find that your data isn't working well in a certain chart, it's easy to switch to a new chart type. In our example, we'll change our chart from a column chart to a line chart.

  1. From the Design tab, click the Change Chart Type command.
    Selecting the Change Chart type command from the Design tab
  2. The Change Chart Type dialog box will appear. Select a new chart type and layout, then click OK. In our example, we'll choose a Line chart.
    Selecting a line chart
  3. The selected chart type will appear. In our example, the line chart makes it easier to see trends in sales data over time.
    Line chart

To move a chart:

Whenever you insert a new chart, it will appear as an object on the same worksheet that contains its source data. You can easily move the chart to a new worksheet to help keep your data organized.

  1. Select the chart you want to move.
  2. Click the Design tab, then select the Move Chart command.
    Selecting the move chart command
  3. The Move Chart dialog box will appear. Select the desired location for the chart. In our example, we'll choose to move it to a New sheet, which will create a new worksheet.
  4. Click OK.
    Selecting OK button to close dialog box
  5. The chart will appear in the selected location. In our example, the chart now appears on a new worksheet.
    a chart in a new worksheet

Keeping charts up to date

By default, when you add more data to your spreadsheet, the chart may not include the new data. To fix this, you can adjust the data range. Simply click the chart, and it will highlight the data range in your spreadsheet. You can then click and drag the handle in the lower-right corner to change the data range.

Screenshot of adjusting a data range

If you frequently add more data to your spreadsheet, it may become tedious to update the data range. Luckily, there is an easier way. Simply format your source data as a table, then create a chart based on that table. When you add more data below the table, it will automatically be included in both the table and the chart, keeping everything consistent and up to date.

Watch the video below to learn how to use tables to keep charts up to date.

Challenge!

  1. Open our practice workbook.
  2. Click the Challenge tab in the bottom-left of the workbook.
  3. Select cells A1:E6 and insert a 2D Clustered Column chart.
  4. Change the chart title to September to December Sales.
  5. Use the Switch Row/Column command. The columns should now be grouped by month, with a different color for each salesperson.
  6. Move the chart to a new sheet.
  7. Change the chart type to line with markers.
  8. Use the Quick Layout command to change the layout of the chart.
  9. When you're finished, your workbook should look something like this:

    Charts Challenge

/en/excel/conditional-formatting/content/