For automatic highlights in Google Sheets, select cells and open Format > Conditional formatting. Choose a condition and style, then click Done. The color updates as values change.
Use a single-color rule to flag values, a scale to compare numbers, or a formula to color rows. The browser and Android app can edit rules. The iOS app shows existing rules but has no rule editor.
In this guide
Start with the cells the rule should check
On a computer, open your spreadsheet in a browser and select the cells that need formatting. If your heading is in row 1, start with the first row of data so the rule doesn't check the heading too.
Choose Format > Conditional formatting. A panel opens at the right. Check the selected range there before choosing colors: a correct rule applied to the wrong cells still gives the wrong result.

Google's steps cover single-color rules, scales, and custom formulas. Start with one rule and check its result before adding a second condition to the same cells.
I'd use a simple value rule first, even when the final report needs several colors. It makes a wrong threshold or selection much easier to catch before rule order becomes part of the problem.
These rules change formatting rather than the values. A low number can become red without changing the number stored in the cell, so calculations can continue using the original data.
Highlight values that meet a condition
For a column of scores, select the data cells and choose Single color in the rule panel. Under Format cells if, pick the condition you want. For example, choose Less than to flag scores under a target.
- Enter the threshold in Value or formula.
- Choose the text or fill style under Formatting style.
- Click Done.
- Check a cell that meets the condition and one that doesn't to see whether the rule works.
Match the threshold to the way the data is stored. For percentages such as 75%, enter 0.8 to mean 80%. For scores entered as ordinary numbers such as 75, an 80-point threshold is 80, rather than 0.8.
A Less than rule doesn't include the threshold itself. In the percentage example, 79% matches and 80% doesn't. Choose a condition that covers the values you want. Changing the color won't fix a comparison that excludes the wrong numbers.
Text conditions are useful for status fields. Pick Text contains when a word can appear inside a longer entry. Check the full cell value if a similar-looking label doesn't match.
If a number or date displays strangely before you add the rule, correct that separately. The Sheets date-format controls change the date's display, while a conditional rule decides when a style should apply.
Use a color scale for a numeric comparison
A color scale gives values a changing color rather than marking only a pass or fail. Select the numeric cells, reopen the conditional formatting panel, and choose Color scale.
Under Preview, choose a scale. Set the minimum and maximum values, and a midpoint if you need one. Use the value-category controls to choose what the minimum and maximum represent, then save the rule.
Choose fixed endpoints to compare values against a target range. To compare entries within the current list, let the scale follow those values instead. Decide which comparison the report needs before choosing colors.
Look at the smallest and largest entries after applying it. A useful scale should make their relationship clear without requiring every reader to open the rule panel to understand the colors.
A color scale isn't the best tool for a status such as approved or rejected. Use a single-color condition for a specific label and reserve the scale for values where the amount of difference matters.
Color an entire row using one cell's value
Select all the cells that should take the color, including every column in your rows of data. In Format > Conditional formatting, choose Custom formula is under Format cells if.
For an example range A2:E100 where column B contains approval labels, enter this formula:
=$B2="Yes"
Choose a fill style and click Done. A row with Yes in its B cell should take that style across columns A through E. A row with another value should keep its other formatting unless another rule applies.
The dollar sign keeps the rule checking column B as it colors each row. Without a dollar sign before the row number, each row checks its own B cell.
Start the formula with the same row number as the selected data range. A range beginning at row 2 needs $B2 in this example. Starting with $B1 makes the rule look at the preceding row instead.
Change the columns and label in this example to match your sheet. To check a condition on another sheet, use INDIRECT as the help page describes, rather than referring directly to that sheet's cells.
If records also need a clearer layout, merge Sheets cells carefully around headings rather than across the working data. A formatting rule doesn't need merged cells to color a complete row.
Edit rules on Android and view them on iPhone
On Android, open your file in the Sheets app and select the cells that need formatting. Tap Format > Conditional formatting to open the panel. Choose a condition, set the style, and tap Done.
If a rule already exists, use Add to create another. For a formula-based rule, Android calls the condition Custom formula. Enter the expression in Value or formula, then save it.
In the Android panel, choose Selected range to see rules that affect your selected cells, or All to see the sheet's rules. This helps when a format appears in cells outside the small area you originally selected.
On iPhone or iPad, you can see existing conditional formatting, but the Sheets app can't edit the rules. Use the computer browser editor to change the rules instead of searching the iOS menus for a missing editor.
Correct a rule that gives the wrong color
Open the affected range's rules and check their order. The first rule that is true determines the format for that cell or range. Drag rules into the intended order when several conditions could match.
Also check whether copied cells brought their own rules. Copying and pasting cells with conditional formatting applies those rules to the destination, so a changed appearance after pasting can come from an added condition.
To remove an unwanted desktop rule, point to it and click Remove. Check the remaining rules afterward. Removing one rule doesn't mean a cell will lose formatting applied by another rule.
If the result still seems wrong, ask Google Docs Editors Help with a small example range, the formula or condition, and the expected result. Use sample data rather than sharing a confidential spreadsheet to explain the problem.
The Short Version
Give selected cells a condition and a matching style. Use $B2 to check column B across a row starting at row 2. Check rule order and pasted rules when colors conflict; switch to the computer editor for rules you can only view on iPhone.
Checked December 3, 2026.







