Use conditional formatting rules in Google Sheets

Cells, rows, or columns can be formatted to change text or background color if they meet certain conditions. For example, if they contain a certain word or a number.

Conditional formatting gif

  1. On your computer, open a spreadsheet in Google Sheets.
  2. Select the cells you want to apply format rules to.
  3. Click Format and then Conditional formatting. A toolbar will open to the right.
  4. Create a rule.
    • Single color: Under "Format cells if," choose the condition that you want to trigger the rule. Under "Formatting style, choose what the cell will look like when conditions are met.
    • Color scale: Under "Preview," select the color scale. Then, choose a minimum and maximum value, and an optional midpoint value. To choose the value category, click the Down arrow Down arrow.
  5. Click Done.

Use advanced conditional formatting

Notes:

  • To remove a rule, point to the rule and click Remove Remove.
  • Rules are evaluated in the order listed. The first rule found to be true will define the format of the cell or range. To reorder rules, click and drag them.
  • If you copy and paste from a cell or range that has formatting rules, these rules will be applied when you paste the copied data.
true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

10409195706167343536
true
Search Help Center
true
true
true
true
true
35
false
false
false
Search
Clear search
Close search
Main menu
false