Use conditional formatting in Sheets
Highlight cells that meet a rule, color whole rows with a custom formula, and add color scales, data bars and icons that update as your data changes.
Updated 2 min read
In short
To add conditional formatting in Foxcolab Sheets, select the cells and choose Format → Conditional formatting, then click Add rule. Pick a condition under Format cells if, such as Greater than or Custom formula is, choose a formatting style and click Done. The Scale, Bars and Icons tabs add color scales, data bars and icon sets. Rules higher in the list win when two set the same formatting.
Key takeaways
- Open the panel with Format → Conditional formatting or the toolbar button, then click Add rule.
- Conditions cover text, dates, numbers, rankings, duplicates, errors and custom formulas.
- Write a custom formula for the top-left cell of the range, and use $ to fix a column.
- The Scale, Bars and Icons tabs turn a column of numbers into a heat map, bars or icons.
- New rules go to the top of the list, and higher rules win when they set the same formatting.
Last reviewed 3 December 2026
Conditional formatting in Foxcolab Sheets changes how a cell looks when its value meets a rule. Use it to flag overdue tasks, spot duplicates, or turn a column of numbers into a heat map. The formatting updates as soon as the data changes, for everyone working in the spreadsheet.
Add a rule#
Select the cells
Select the range to format, such as D2:D200.
Open the panel
Choose Format → Conditional formatting, or click Conditional formatting in the toolbar.
Start a rule
Click Add rule. Apply to range shows your selection. Edit it, or click Use current selection to pick it up again.
Set the condition
On the Single tab, choose a condition under Format cells if, such as Greater than, and type the value. A value can also be a formula, such as =AVERAGE($D$2:$D$200).
Choose the look
Under Formatting style, pick a preset or set Bold, Italic, Underline, Strikethrough, Text color and Fill color. The preview shows the result.
Save
Click Done.
Conditions you can use#
| Group | Conditions |
|---|---|
| General | Is empty, Is not empty, Is an error, Is not an error |
| Text | Text contains, Text does not contain, Text starts with, Text ends with, Text is exactly |
| Date | Date is yesterday or tomorrow, in the past week or month, this, last or next week or month, this year, before or after a date |
| Number | Greater than, Less than, Is equal to, Is between, Is not between, and more |
| Ranking | Top N items, Top N percent, Bottom N items, Above average, Below average, Duplicate values, Unique values |
| Formula | Custom formula is |
Highlight whole rows with a custom formula#
Say you track tasks in A2:D50, with the due date in column C and the status in column D. To shade every overdue task that isn't done:
- Set Apply to range to
A2:D50. - Under Format cells if, choose Custom formula is.
- Enter
=AND($C2<TODAY(), $D2<>"Done"). - Pick a red fill and click Done.
Write the formula for the top-left cell of the range, here row 2. Sheets adjusts it for the other cells. The $ before C and D keeps every cell in a row looking at the same columns, which is why the whole row lights up.
Color scales, data bars and icons#
- Scale shades each cell by where its value falls. Pick a preset, or set the Min and Max points to the lowest or highest value, a number, a percent, a percentile or a formula. Turn on Use a midpoint for three colors, such as red, yellow and green.
- Bars draws a bar in each cell. Choose colors for Positive and Negative values, and switch Gradient fill or Show the value on or off.
- Icons adds an icon from a set such as 3 arrows, 3 traffic lights or 3 flags. Set the thresholds for each icon as a number, percent, percentile or formula. Reverse icon order flips which end gets which icon.
Order, edit and delete rules#
The panel lists the rules on the current sheet. Click a rule to change it, or click Delete in the editor to remove it. New rules go to the top of the list.
When two rules set the same formatting on a cell, the rule higher in the list wins. Hover over a rule and click Higher priority or Lower priority to move it. On a Single rule, turn on Stop applying lower rules when this one matches to skip the rules below it for matching cells.
Related#
Frequently asked questions
Why does my custom formula color the wrong rows?
Write the formula for the top-left cell of the range in Apply to range. For a range starting at row 2, refer to row 2, as in =$C2>100. Put $ before the column letter so every cell in the row checks the same column.
Two rules color the same cell. Which one wins?
The rule higher in the list wins for any formatting both rules set. Hover over a rule and use Higher priority or Lower priority to move it. Turn on Stop applying lower rules when this one matches to skip the rules below it.
Is conditional formatting kept when I download an Excel file?
Yes, for rules Excel can express. File → Download → Microsoft Excel (.xlsx) includes conditional formatting rules in their priority order.
Can people with view access change the rules?
No. They see the formatting and can open the panel to read the rules, but only people who can edit can add, change or delete them.
Did this answer your question?
One click, no account needed.
Still need help?
Our support team can take it from here.