Locked lesson.
About this lesson
How to use conditional formatting to format cells based on their contents.
Exercise files
The exercises below will open in a new tab. When signed in to your Google account, go to File --> Make a copy to get an editable copy of the file.
Conditional Formatting SolutionLink Conditional Formatting
Link
Quick reference
Conditional formatting
Conditional formatting is used to set up rules for automatically formatting the contents of cells in Google Sheets.
When to use
When you want to automatically highlight the data in your sheet using style or color.
Instructions
Creating a conditional formatting rule
- Click “Format”
- Click “Conditional formatting” to open the sidebar
- Select the cells you want to format
- Click “Add a new rule”
- Single color:
- Format cells if: Select the rule for determining which cells will get formatted rules can match:
- Whether the cell is empty or not
- Text
- Dates
- Numbers
- Custom
- Formatting style: Select how the cells will be formatted if they match the rule
- Format cells if: Select the rule for determining which cells will get formatted rules can match:
- Color scale:
- Preview: Choose what color scale to use
- Minpoint/Midpoint/Maxpoint: choose what will match the ends and center of the scale:
- Min value: The lowest number in the range
- Number: A specific number that you set
- Percent: A percentage of the maximum that you set
- Percentile: Numbers within a percentile that you set
- Single color:
- Click “Done”
See conditional formatting rules
- Select the data
- Click “Format”
- Click “Conditional formatting”
- The rules used in the selected data are listed in the sidebar
Delete conditional formatting rules
- Select the data
- Click “Format”
- Click “Conditional formatting”
- Mouse over the rule you want to delete
- Click the trashcan next to that rule
Lesson notes are only available for subscribers.