Find a course

Module 4: Analyze, Visualize and ShareLesson 10 of 1212 min

Charts and Conditional Formatting

Pick the right chart for your question, build and customize it in the chart editor, and highlight important values automatically with color rules.

Step 1 of 9Learn

The table nobody read

Every month, Tomás emailed his manager a sheet of 12 months of sales for 6 product lines: 72 numbers. Every month the reply was the same: "Thanks, so how are we doing?" When he added one line chart, the answer jumped out: five lines were flat, and one was climbing steeply. His manager asked a follow-up question within minutes.

A good chart answers one question at a glance. Choose the chart type based on that question:

QuestionChart type
How do categories compare?Column or bar chart
How does something change over time?Line chart
What share of the whole does each part make up?Pie chart (only with a few slices)
Is there a relationship between two numbers?Scatter chart
How are values spread out?Histogram

To create one, select your data including the header row, then choose Insert > Chart. Sheets guesses a chart type and opens the chart editor on the right. The Setup tab controls the chart type, data range, which column is the X-axis and which columns are series. The Customize tab controls titles, colors, axis labels, gridlines and the legend.

Charts are linked to their data: change a number in the sheet and the chart updates instantly. Charts can also be copied into Google Docs and Slides, where they stay linked and can be refreshed with a click.

Illustrative line chart of monthly sales for six product lines: five lines stay flat while one climbs steeply from about 20 to 112the one that mattersJFMAMJJASONDIllustrative data: 72 numbers, one clear message

Step 2 of 9Practice · Match the pairs

Match each question with the best chart type.

Tap an answer, then tap the place where it belongs (or drag it there).

  1. How did website visits change each week this year?
  2. Which of five stores sold the most last month?
  3. What share of the budget goes to rent, food and other costs?
  4. Do taller people tend to weigh more?

Step 3 of 9Learn

Making charts honest and readable

A chart can be technically correct and still mislead or confuse. A few rules keep yours clear:

  • Write a title that states the point, not just the topic. "Online sales doubled in 2026" beats "Sales by channel."
  • Start column and bar axes at zero. If the axis starts at 90, a change from 95 to 100 looks like a doubling. Line charts can use a narrower range when small changes matter, but label the axis clearly.
  • Limit pie charts to about five slices that add up to a meaningful whole. With 12 thin slices, nobody can compare them; use a sorted bar chart instead.
  • Sort bars from largest to smallest unless the categories have a natural order, such as months or age groups.
  • Use color with purpose. One highlight color for the item you're talking about and gray for the rest says more than a rainbow.
  • Skip 3D effects. They distort sizes and make values harder to read.

In the chart editor, check that Sheets understood your data. A common surprise is a year column such as 2024, 2025, 2026 being treated as a number series and drawn as an extra line, rather than as the labels along the X-axis. Fix it in Setup by setting that column as the X-axis, or by formatting the years as plain text.

Charts can live on the same tab as the data or be moved to their own sheet: click the three-dot menu on the chart and choose Move to own sheet.

The same two values, 95 and 100, drawn with an axis starting at 90 (the second bar looks twice as tall) and with an axis starting at zero (the bars look nearly equal)Axis starts at 90: misleading9010095100Axis starts at 0: honest010095100A 5% difference should look like a 5% difference

Step 4 of 9Practice · True or false

A column chart comparing values between 96 and 100 should start its vertical axis at 95 so the differences look bigger.

Step 5 of 9Learn

Conditional formatting: let color find the problems

Conditional formatting changes a cell's appearance automatically based on its value. Instead of scanning 500 rows for overdue invoices, you make overdue rows turn red by themselves.

Select the range, choose Format > Conditional formatting, and set a rule in the sidebar:

  • Single color rules apply a format when a condition is true: Less than 20, Text contains "Late," Date is before today, Is empty, and more.
  • Color scale rules shade every cell along a gradient, from light for low values to dark for high values, which turns a table into a quick heat map.

For more control, choose Custom formula is. The formula is written for the top-left cell of the range and copied relatively to every other cell, just like a normal formula. To highlight an entire row when its status in column D is "Overdue," select A2:F200 and use:

=$D2="Overdue"

The dollar sign locks the column to D, so every cell in a row checks that row's status, while the row number stays relative so each row checks itself. Without the $, cells in column E would check column H, and nothing would work as expected.

Rules are applied in order from top to bottom of the list, and you can stack several, for example red for overdue and yellow for due within seven days. Keep it simple: when everything is highlighted, nothing stands out.

Conditional formatting on a sales table (illustrative scores): values under 40 turn red and values over 85 turn green, so the extremes stand out without reading every numberABCD23456Rep 142Rep 288Rep 361Rep 497Rep 523Rep 675Rep 755Rep 834Rep 991Rep 1068under 4040 to 85over 85Illustrative scores. Rules color cells automatically when values change.

Step 6 of 9Practice · Choose one

You select A2:G300 and want each entire row highlighted when the amount in column E is over 1,000. Which custom formula is correct?

Step 7 of 9Note

Step 8 of 9Practice · What would you do?

What would you do?

A manager wants to spot, at a glance, which of 40 sales reps are far below or above target in a column of percentages. What is the most effective formatting?

Step 9 of 9Practice · Select all that apply

Which practices make a chart clearer? Select all that apply.

Select all that apply.