ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Comparisons
  3. Conditional Formatting: Preset Rules vs Formula Rules

Conditional Formatting: Preset Rules vs Formula Rules

By ExcelReady Team·Updated December 1, 2026·8 min read

The short answer

Use a preset rule (Highlight Cells Rules, Top/Bottom Rules, Data Bars, Color Scales, Icon Sets) when each cell should be coloured by its own value. Use a formula rule when the colour depends on another column, on two conditions at once, or must cover the whole row, such as =AND($C2<>"Done",$F2<$H$1) for overdue tasks.

Key takeaways

  • Preset rules test the cell they colour. Formula rules can test any cell and colour a different one.
  • Only presets give data bars, colour scales and icon sets. Formula rules set number, font, border and fill formats.
  • To colour a whole row, select it all and lock the column: =$C2="Blocked".
  • Write the formula for the top-left cell of the range, and test it in a spare cell first.
  • When two rules set the same format, the one higher in Manage Rules wins.
On this page+
  1. Preset rules vs formula rules at a glance
  2. The task tracker we'll format
  3. The same tracker, formatted both ways
  4. How to write the formula rule so it colours the right rows
  5. When two rules hit the same row
  6. When to use preset rules
  7. When to use formula rules
  8. What a job test usually checks
  9. How to decide: a quick checklist
  10. Common mistakes with preset and formula rules
  11. Our recommendation
  12. Practise it

Conditional formatting preset rules vs formula rules is a choice between speed and reach. Preset rules (Highlight Cells Rules, Top/Bottom Rules, Data Bars, Color Scales and Icon Sets) take two clicks and colour each cell by its own value. A formula rule takes a minute longer but can check other columns, combine conditions and colour an entire row. This guide runs both on one task tracker so you can see which jobs each one can and can't do.

Preset rules vs formula rules at a glance#

Presets compare a cell with a value. Formula rules ask any TRUE/FALSE question you can write.

FeaturePreset rulesFormula rule ("Use a formula to determine which cells to format")
WhereHome > Conditional Formatting > Highlight Cells Rules, Top/Bottom Rules, Data Bars, Color Scales, Icon SetsHome > Conditional Formatting > New Rule
What it testsThe cell being colouredAny cell, range or calculation
Colour a whole rowNoYes, with a mixed reference like =$C2="Blocked"
Two conditions at onceNo (between two numbers is the exception)Yes, with AND or OR
Data bars, colour scales, iconsYesNo: number, font, border and fill only
Ranking and averagesBuilt in: Top 10, Top 10%, Above AveragePossible, but you write it with LARGE or AVERAGE
Typing neededA value or nothingA formula with the right $ signs
Easy to get wrongRarelyYes: wrong row or wrong $

The task tracker we'll format#

This tracker for a website relaunch sits in A1:F8. H1 holds the report date, 16-Mar-2026, so every result below can be reproduced. In a live file you would use TODAY() instead.

ABCDEF
1TaskOwnerStatusEstimateActualDue
2Homepage copyMayaIn progress6912-Mar-2026
3Product photosLeoDone10810-Mar-2026
4Pricing tableMayaBlocked4518-Mar-2026
5SEO titlesOmarNot started3013-Mar-2026
6Checkout testLeoIn progress8620-Mar-2026
7Launch emailOmarDone5714-Mar-2026
8FAQ pageMayaIn progress4416-Mar-2026

The same tracker, formatted both ways#

Here are five things a team lead might want to see, and which kind of rule can deliver each one.

GoalPreset ruleResultFormula rule (applied to A2:F8)Result
Spot blocked workHighlight Cells Rules > Text that Contains: Blocked, on C2:C8Cell C4 only=$C2="Blocked"All of row 4
Top 3 by actual hoursTop/Bottom Rules > Top 10 Items, changed to 3, on E2:E8E2 (9), E3 (8), E7 (7)=$E2>=LARGE($E$2:$E$8,3)Rows 2, 3 and 7
Overdue and not doneNot possible: A Date Occurring only offers periods like Yesterday or Last week, and can't check the status–=AND($C2<>"Done",$F2<$H$1)Rows 2 and 5
Over estimate and not doneNot possible: each row needs its own comparison plus a status check–=AND($C2<>"Done",$E2>$D2)Rows 2 and 4
Show hours as barsData Bars on E2:E8A bar in every cell, longest for 9Not possible–

The pattern is clear. When the question is about the cell itself, a preset is quicker and does the same job. When the question involves another column, a second condition or the whole row, only a formula rule can do it. And for visual scales, only presets can.

Check the overdue result by hand: row 2 is due 12 March and in progress, row 5 is due 13 March and not started. Row 3 and row 7 are past due but Done. Row 8 is due on the report date itself, which isn't before it, so it stays uncoloured.

One more preset detail: Text that Contains matches part of the text, so it would also colour "Unblocked". The formula =$C2="Blocked" only matches the exact word.

How to write the formula rule so it colours the right rows#

A formula rule is written for the top-left cell of the range in Applies to, and Excel adjusts it for every other cell, exactly like copying a formula.

  1. Select A2:F8, starting at row 2 so the header isn't coloured.
  2. Go to Home > Conditional Formatting > New Rule (Windows keyboard: Alt, H, L, N). On a Mac, the path is the same; in the dialog, set Style to Classic, then pick the formula option.
  3. Choose Use a formula to determine which cells to format.
  4. Type =AND($C2<>"Done",$F2<$H$1).
  5. Click Format, pick a red fill, and click OK twice.

The $ signs are what make a whole row light up. $C2 locks the column, so every cell in row 2, from A2 to F2, checks C2. The row number stays free, so row 3 checks C3. $H$1 is fully locked because every row compares with the same report date. If mixed references are new to you, this guide to mixed references and relative vs absolute references explain the idea with ordinary formulas.

Watch out when you click a cell while typing the rule: Excel inserts a fully locked reference such as $F$2. Left like that, every row checks F2, so either every row is coloured or none is. Remove the $ before the row number.

Test the formula in a cell first#

Type the same formula in a spare cell, G2: =AND($C2<>"Done",$F2<$H$1). Fill it down to G8 with Ctrl+D (Mac: ⌘D). You should see TRUE in G2 and G5 and FALSE everywhere else. If the TRUEs are on the right rows, the rule will be too. The conditional formatting formula guide has more ready-made rule formulas.

When two rules hit the same row#

Row 2 is both overdue (red fill) and over estimate (say, yellow fill). Both rules are TRUE, and both set a fill, so they conflict. Excel applies the one higher in the list in Home > Conditional Formatting > Manage Rules. Use the Move Up and Move Down arrows to put the more urgent rule first.

If the rules don't conflict, for example one sets a red fill and the other sets bold text, Excel applies both. The Stop If True box on a rule stops Excel from checking the rules below it for those cells. It can't be set on data bar, colour scale or icon set rules. When colours look wrong, the conditional formatting troubleshooting guide walks through the usual causes.

When to use preset rules#

Use a preset whenever the cell should be judged on its own value.

  • Thresholds: Greater Than 5,000, Less Than 0, Between 10 and 20.
  • Text and dates in that cell: Text that Contains, A Date Occurring (Last week, This month).
  • Duplicates: Duplicate Values finds repeated IDs in one column.
  • Rankings: Top 10 Items, Top 10%, Above Average. Excel does the maths for you.
  • Visual scales: Data Bars, Color Scales and Icon Sets are only available as presets.

Presets are also easier for colleagues to edit. Anyone can change "Greater Than 5,000" to 6,000 in Manage Rules, while a formula needs someone who reads formulas. The beginner's guide to conditional formatting covers each preset step by step.

When to use formula rules#

Use a formula rule when the preset menus can't ask your question.

  • Whole rows: colour every cell of a task, order or employee based on one column.
  • Comparisons across columns: actual vs estimate, sales vs target, end date vs start date.
  • Two or more conditions: AND, OR and NOT, such as overdue and not done.
  • An input cell: =$B2=$J$1 highlights the owner picked in J1, so a manager can switch views.
  • Anything a function can test: COUNTIF for duplicates across two columns, ISNUMBER(SEARCH()) for a word anywhere, WEEKDAY for weekends.

What a job test usually checks#

Practical tests tend to include one task of each kind. "Highlight every amount over 1,000" expects a preset: a formula works too, but takes longer and adds risk. "Highlight the entire row of every overdue task" can only be done with a formula rule. The checker usually looks at the result on the sheet, so the classic failure is a rule written for row 1 on a range that starts at row 2: every highlight then lands one row off.

How to decide: a quick checklist#

  1. Should cells other than the tested one be coloured, like a whole row? Yes: formula rule.
  2. Does the condition use another column or a second test? Yes: formula rule.
  3. Do you want bars, colour scales or icons? Yes: preset.
  4. Is it a top N, top %, above-average or duplicate check on one column? Yes: preset.
  5. Will non-formula users maintain the file? Yes: prefer a preset where one can do the job.

Common mistakes with preset and formula rules#

  1. Expecting a preset to colour the whole row. It colours only the cells it tests.
  2. Forgetting the $ before the column. =C2="Blocked" on A2:F8 makes each cell test the cell two columns to its right, so only A4 is coloured.
  3. Writing the formula for the header row. With A2:F8 selected, =$C1="Blocked" colours row 5, one row below the blocked task.
  4. Typing a TRUE/FALSE test into a preset's value box. "Format cells that are GREATER THAN" compares the cell with whatever you type, so =AND(...) there doesn't act as a rule. Use New Rule and the formula option.
  5. Rules in the wrong order. A green "Done" rule above a red "Overdue" rule can hide the red. Check the order in Manage Rules.
  6. Wrapping the test in IF. =$C2="Blocked" is enough; the rule already means "if TRUE, format".

Our recommendation#

Start with a preset whenever the cell is judged on its own value: it's faster, harder to get wrong and easier for others to edit, and it's the only way to get data bars, colour scales and icons. Switch to a formula rule the moment you need a whole row, another column, or two conditions. When you do, select the full table from row 2, lock the column with $, write the formula for row 2, and test it in a spare cell before you paste it into the rule.

Practise it#

Try the over-estimate exercise on this page, which is exactly the test-it-in-a-cell step. Then practise conditional formatting in a live spreadsheet: you'll set a Greater Than rule, flag duplicate IDs and the top 3 with presets, then colour whole rows with a formula rule and a $ on the column.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Before building a rule that colours tasks running over their estimate, test the formula in a cell. In G2, return TRUE if the task is not Done and its Actual hours (E2) are greater than its Estimate (D2). Lock the columns with $, as you would in the rule.

fx
ABCDEFGH
1
Task
Owner
Status
Estimate
Actual
Over estimate?
2
Homepage copy
Maya
In progress
6
9
3
Product photos
Leo
Done
10
8
4
Pricing table
Maya
Blocked
4
5
5
SEO titles
Omar
Not started
3
0
6
Checkout test
Leo
In progress
8
6
7
Launch email
Omar
Done
5
7
8
FAQ page
Maya
In progress
4
4
9
10
11

Tip: Use AND with two tests: $C2<>"Done" and $E2>$D2. Row 2 should return TRUE: 9 actual hours against an estimate of 6.

Practise this in a lesson

LessonConditional formattingMake important numbers stand out: highlight values over a limit, duplicate IDs and the top 3, then color whole rows with a formula rule and a $ on the column.

Frequently asked questions

What is the difference between a preset rule and a formula rule in conditional formatting?

+

A preset rule, such as Greater Than or Top 10 Items, compares each cell with a value and colours that same cell. A formula rule runs a TRUE/FALSE formula you write, so it can look at other columns, combine conditions and colour whole rows.

Can I highlight a whole row with a preset conditional formatting rule?

+

No. Highlight Cells Rules only colour the cells that meet the condition. To colour the whole row, select every column of the table and use a formula rule with the column locked, such as =$C2="Blocked".

Can a formula rule show data bars or icons?

+

No. A formula rule can only apply number, font, border and fill formats. Data bars, colour scales and icon sets are separate preset types that colour each cell by its own value.

Which conditional formatting rule wins when two rules apply?

+

If both set the same kind of format, such as the fill colour, the rule higher in the Conditional Formatting Rules Manager wins. If they set different things, such as bold text and a fill, both are applied.

Why is my formula rule colouring the wrong rows?

+

The formula is probably written for the wrong row. It must be written for the top-left cell of the Applies to range, so if the range starts at row 2, the formula must refer to row 2.

Sources

  • Use conditional formatting to highlight information in Excel - Microsoft Support

Written and checked by the ExcelReady Team. First published December 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. Preset rules vs formula rules at a glance
  2. The task tracker we'll format
  3. The same tracker, formatted both ways
  4. How to write the formula rule so it colours the right rows
  5. When two rules hit the same row
  6. When to use preset rules
  7. When to use formula rules
  8. What a job test usually checks
  9. How to decide: a quick checklist
  10. Common mistakes with preset and formula rules
  11. Our recommendation
  12. Practise it

Keep reading

Data tools· 5 min read

Conditional Formatting in Excel: Highlight What Matters

Conditional formatting colors cells automatically when they meet a rule. Select the cells, go to Home > Conditional Formatting, and pick a rule such as Highlight Cells Rules > Greater Than. To color whole rows, use New Rule > Use a formula, with a $ before the column letter: =$E2>5000. Rules update whenever values change.

Data tools· 5 min read

Conditional Formatting With a Formula in Excel

To use a conditional formatting formula in Excel, select the cells, go to Home > Conditional Formatting > New Rule and choose Use a formula to determine which cells to format. Type a formula that returns TRUE or FALSE for the top-left cell, such as =$E2>5, and pick a format. Excel colours every cell where the formula is TRUE.

Errors & fixes· 6 min read

Conditional Formatting Not Working in Excel? Fix It

When conditional formatting is not working, the rule usually points at the wrong cells or data. Check four things: the $ signs in a formula rule (=$C2, not =C2 or =$C$2), numbers or dates stored as text, the Applies to range in Manage Rules, and whether a higher rule wins first. Then test the formula in a cell.

More on comparisons

  • COUNT vs COUNTA vs COUNTBLANK
  • COUNT vs COUNTIF in Excel
  • COUNTIF vs COUNTIFS: What's the Difference?
  • COUNTIFS vs SUMPRODUCT for Counting With Conditions
  • CSV vs CSV UTF-8 in Excel: Which Format to Save
  • CSV vs XLSX: Which File Format to Use
All comparisons articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free