Learning path · Level 4 · Tutorial 3

Highlight Exceptions with Conditional Formatting

Make exceptions visible in Excel or Calc without changing the underlying data. Apply a threshold rule to individual cells and a formula-based rule to whole records, then check rule coverage, reference alignment, and readability.

  • Level: Intermediate
  • Duration: 18 min
  • 6 steps
Start tutorial Back to the path
Highlight Exceptions with Conditional Formatting

What you will go through

  1. Define the Exception Create the Expenses practice register and define the exception condition before applying formatting. 3 min
  2. Highlight Amounts Above the Limit Apply a value-based conditional-formatting rule to spending cells only, using a strict threshold and a readable exception format. 3 min
  3. Highlight Complete Records Replace the amount-only conditional-formatting rule with an aligned formula-based row rule that highlights complete exception records. 4 min
  4. Make the Emphasis Understandable Make exception rows readable and state the review condition visibly, so meaning does not depend on color alone. 2 min
  5. Audit Coverage and Test the Rule Inspect conditional-formatting definitions, diagnose range and reference failures, remove obsolete overlaps, and verify the row rule with reversible value tests. 4 min
  6. Complete the Exception Review Extend the finished row rule to a new record, then verify its formula, coverage, readability, and final exceptions. 3 min

What you will learn

  • Translate a workplace exception, such as spending above a limit, into a conditional-formatting rule.
  • Apply a value-based rule to the intended data cells without including headers.
  • Highlight complete records using a formula with correctly anchored references.
  • Change test values and inspect rule ranges and overlaps to verify that only intended exceptions are emphasized.

Before you start

  • Restrict Entries with Data Validation
  • Write Budget Formulas with Cell References
  • Flag Spending Limits with IF

Step 1 of 6

Define the Exception

Create the Expenses practice register and define the exception condition before applying formatting.

What an exception rule does

Display, not data change

Conditional formatting is a display rule: it changes how a value looks when a condition is met. It does not change the stored number, and it does not prevent someone from entering a number.

This differs from data validation, which you used earlier to control permitted entries. Conditional formatting helps readers notice existing exceptions.

For this worksheet, translate “spending above the review limit” precisely as:

Spend > 500

The word “above” matters: a value equal to 500 is not an exception.

A visual rule sits on top of the values

A spreadsheet spend column where values above 500 receive a pale amber visual overlay while the numeric values remain unchanged.

The value stays numeric and unchanged; a conditional format can add emphasis only when the condition is true.

Build the practice register

Set up the Expenses sheet

Create the practice register before applying any conditional formatting.

Excel: Create a blank workbook, save it locally as ExceptionReview.xlsx, and rename its worksheet to Expenses.

Calc: Create a blank workbook, save it locally as ExceptionReview.ods, and name its worksheet Expenses.

Enter the table below in A1:D7. Then format D2:D7 to display two decimal places with a decimal point. Do not add colors or rules yet.

Expenses baseline register

Enter these headers and baseline records. All entries in the Spend column are numeric.

Worksheet range A1:D7
Record IDTeamItemSpend (USD)
EX-101OperationsSupplies320
EX-102SalesTravel640
EX-103ITAccessories500
EX-104OperationsCourier85
EX-105SalesEvent1200
EX-106ITSoftware499

Define the expected exceptions

Check each value against the condition

Before creating a rule, predict its result from the condition alone. The comparison is strictly greater than 500: values below the limit and values equal to the limit remain ordinary records.

Baseline exception check

Expected result for the initial six records

An exception requires Spend > 500.
RowSpend (USD)Expected exception?
2320.00No
3640.00Yes
4500.00No
585.00No
61200.00Yes
7499.00No

Example

Boundary example

At the boundary, 500.00 > 500 is false. “Greater than” excludes an equal value; it does not mean “greater than or equal to.”

Practice: state the rule accurately

Check your exception definition

Which statement correctly describes the baseline exception check and the effect of a conditional formatting rule?

Step 2 of 6

Highlight Amounts Above the Limit

Apply a value-based conditional-formatting rule to spending cells only, using a strict threshold and a readable exception format.

Set the applied range and expected result

Target only the spending cells

Select D2:D7 before creating the cell rule. This applied range contains only the six spending values: it excludes the header in D1 and leaves the identifier, team, and item columns unchanged.

The condition is strictly greater than 500.00. Therefore, 640.00 and 1200.00 are exceptions; 500.00 is not.

What an amount-only cell rule affects

A spreadsheet diagram shows D2:D7 selected, with only the spending cells for 640.00 and 1200.00 highlighted; the 500.00 cell and all non-spending columns are unchanged.

A cell rule emphasizes exception amounts in column D only, not the entire record.

Expected result in D2:D7

Use this as a quick visual check after applying the rule.

Initial exceptions for the amount-only cell rule
CellSpend (USD)Expected appearance
D2320.00Unchanged
D3640.00Exception emphasis
D4500.00Unchanged
D585.00Unchanged
D61200.00Exception emphasis
D7499.00Unchanged

Apply the greater-than rule

Create a dynamic cell rule

With D2:D7 still selected, create one value-based cell rule. Enter the numeric threshold as 500. The rule reacts when a cell value changes; do not manually fill D3 and D6.

Excel and Calc steps

Follow the instructions for your application. Keep the selection limited to D2:D7 throughout.

Create the greater-than cell rule
ApplicationCommandCondition and format
ExcelExcel: Home > Conditional Formatting > Highlight Cells Rules > Greater Than.Enter 500. Choose Custom Format and use a pale amber fill with dark, readable text.
CalcCalc: Format > Conditional > Condition.Choose Cell value is and the greater-than comparison. Enter 500. In Apply Style, create or select the cell style Review Exception with pale amber fill and dark, readable text.

Check the range and comparison

Choose and verify the amount rule

Choose the correct cell rule for the Expenses sheet. Then apply it locally and inspect the highlighted cells.

Step 3 of 6

Highlight Complete Records

Replace the amount-only conditional-formatting rule with an aligned formula-based row rule that highlights complete exception records.

Understand the row rule

From amount highlights to record highlights

The earlier cell rule emphasized only the amount in column D. A row rule emphasizes every cell in a record when that record’s spending is an exception.

A formula-based condition evaluates to true or false for formatting only. It does not place a result in a worksheet cell, change a spending value, or restrict an entry. For the initial register, apply the row rule to A2:D7. Because A2 is the first cell in that applied range, the formula must begin by referring to row 2.

What a row rule changes

A row rule checks the spending cell for each record and applies its format across columns A through D.

A spreadsheet diagram showing a range across four columns, with complete exception rows highlighted and visual links from the spending column to those rows.

The emphasis spans each exception record, not only its spending cell.

Tip

Keep the column fixed; let the row advance

In the condition, $D fixes the tested column as Spend (USD), even while the format is evaluated across columns A through D. The row number remains relative: the first record checks row 2, the next checks row 3, and so on.

The first row in the formula must match the first row of the applied range. Here, both begin at row 2.

Replace the cell rule with a row rule

Remove the earlier cell rule

Remove the earlier amount-only cell rule before adding the row rule. This leaves one intended exception emphasis.

Excel: Select D2:D7. Go to Home > Conditional Formatting > Manage Rules. Locate the rule whose Applies to range is D2:D7, select it, choose Delete Rule, then choose Apply. Confirm that the amount-only rule no longer appears in the list.

Calc: Select D2:D7. Go to Format > Conditional > Manage. Locate the condition whose Range is D2:D7, select it, and remove the condition. Confirm the amount-only condition is no longer listed. Keep the cell style Review Exception; removing the rule does not require deleting the style.

Create the whole-record rule

Now create the row rule.

Excel: Select A2:D7, beginning with A2. Choose Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format. Enter the Excel formula shown on the next screen. Choose a pale amber fill with dark, readable text, then confirm that Applies to covers A2:D7.

Calc: Select A2:D7, beginning with A2. Choose Format > Conditional > Condition. Set the condition to Formula is, enter the Calc expression shown on the next screen, and apply the Review Exception cell style. Confirm that Range is A2:D7.

Do not include row 1: it is a header, not a record to evaluate.

Align the range and formula

The range starts at the first data row, the tested column stays fixed, and the tested row advances for each record.

A diagram of a four-column data range with the rightmost column fixed as the tested column and row positions advancing down the records.

Start the applied range at A2 and align the condition with that first data row.

Example

Enter the condition for your application

Excel formula:
=$D2>500

Calc Formula is expression:
$D2>500

Excel includes the leading equals sign. In Calc, enter the expression in the Formula is field as shown. Both forms test each record’s Spend (USD) against the strict limit.

Practice the condition and range

Build the aligned row rule

Complete the initial whole-record rule definition.

spreadsheet conditional formatting
Excel formula: =
Calc Formula is: 
Applied range: 

Check the finished record emphasis

Verify the complete-record highlights

Use your completed Expenses worksheet to verify the whole-record rule. In a concise response, state:

  1. The formula or expression you entered for your application.
  2. The applied range.
  3. What the dollar sign before D does.
  4. Whether A3:D3 and A6:D6 are highlighted.
  5. Whether the header in A1:D1 is unaffected.

Base your response on the conditional rule, not on manually colored cells.

Write at least 120 characters (0/120).

Step 4 of 6

Make the Emphasis Understandable

Make exception rows readable and state the review condition visibly, so meaning does not depend on color alone.

Choose emphasis that preserves the record

Readable exceptions

A row rule is useful only if people can still read the record it highlights. An exception row should keep its Record ID, Team, Item, and Spend (USD) easy to scan.

Use pale amber fill with dark, readable text and bold emphasis. This draws attention without hiding the values. Color is a cue—not the explanation of the rule.

Compare emphasis, not data

Side-by-side comparison of a hard-to-read saturated highlighted spreadsheet row and a readable pale amber row with dark bold content.

Both panels represent the same exception. The readable design preserves the record details while still drawing attention.

Attach a clear rule label

Edit the rule format, not the records

Update the format attached to the existing row rule; do not manually color the currently highlighted records. A rule-controlled format appears or disappears automatically when the spending value changes.

Excel: Select any cell in A2:D7. Go to Home > Conditional Formatting > Manage Rules. In “Show formatting rules for,” choose “This Worksheet” so the row rule is visible regardless of the active cell. Select the rule with Applies to covering A2:D7, choose Edit Rule > Format, then set a pale amber fill plus dark, bold font. Confirm the rule formula and Applies to range remain unchanged.

Calc: Select any cell in A2:D7, then choose Format > Conditional > Manage and confirm the row condition covers A2:D7 and uses the Review Exception cell style. Open the Styles sidebar with View > Styles, or press F11. Under Cell Styles, right-click Review Exception and choose Edit Style. Set pale amber on the Background tab; set a dark font color and bold on the Font Effects and Font tabs. Confirm the style changes.

Tip

Make the meaning visible

Add a visible interpretation beside the data:

  • In F1, enter Review rule
  • In F2, enter Spend (USD) > 500.00

This note gives readers the rule in words and numbers. The header and displayed spending values keep the unit visible, so an exception can be understood without depending on color perception.

Place the rule note beside the register

Expense register in columns A through D with pale amber exception rows, and a two-cell note area in F1:F2 beside the register.

Keep the register in A:D and enter the visible rule note in F1:F2, beside rather than inside the data range.

Compare two ways to communicate

Select the readable design

Which design best communicates an exception while keeping the record readable without relying only on hue?

Apply the final readability pass

Apply the readable exception design

In your local ExceptionReview.xlsx or ExceptionReview.ods workbook, complete the readability pass on Expenses:

  1. Edit the existing row rule’s format so exception rows use pale amber fill, dark bold text, and remain easy to read.
  2. In F1, enter Review rule.
  3. In F2, enter Spend (USD) > 500.00.
  4. Do not manually format individual records; the row rule must control the exception emphasis.

After making the changes, briefly report what you changed and how a reader can interpret an exception without color alone.

Write at least 40 characters (0/40).

Step 5 of 6

Audit Coverage and Test the Rule

Inspect conditional-formatting definitions, diagnose range and reference failures, remove obsolete overlaps, and verify the row rule with reversible value tests.

Inspect Formula, Range, and Coverage

Inspect the whole rule, not just its color

A row rule is reliable only when its condition, applied range, and other rules agree. Inspect the rule definition—not just the visible color.

Excel: Go to Home > Conditional Formatting > Manage Rules. In “Show formatting rules for,” choose “This Worksheet” before checking for overlaps. A current-selection view can hide a conflicting rule elsewhere.

Calc: Go to Format > Conditional > Manage. Inspect every condition and its Range.

The intended row rule for the current register starts at A2, covers A2:D7, and evaluates each record’s Spend (USD). Confirm that the existing rule still uses the readable pale amber, dark bold emphasis.

What to inspect in a row rule

Diagram of a spreadsheet rule audit: a header excluded from a data range, full exception rows highlighted, correct formula alignment, and a possible overlapping old rule.

The intended row rule covers A2:D7. Its tested column remains D, its tested row advances with each record, and no obsolete rule should compete for the same formatting.

Common audit findings

Use the rule manager to identify whether a problem comes from coverage, an anchor, or an old competing rule.

Excel formulas include the leading equals sign. Calc entries are shown as they belong in the Formula is field.
Setting foundLikely symptomRepair
Applied range `A2:D5`Row 6 is outside coverage despite its spending value.Restore the range to `A2:D7`.
Applied range `A1:D7`The header is unnecessarily included in the row rule.Start the range at `A2`.
Excel `=D2>500`; Calc `D2>500`The tested column can drift across a record.Fix column D: Excel `=$D2>500`; Calc `$D2>500`.
Excel `=$D$2>500`; Calc `$D$2>500`Every record tests D2 instead of its own spending.Keep the row relative.
Excel `=$D3>500`; Calc `$D3>500`Each record tests the following row’s spending.Align the first formula row with row 2.

Diagnose Settings and Symptoms

Diagnose the rule

Match each incorrect row-rule setting to its most likely symptom. The paired labels show the form used in each application.

Tap an item and then its matching pair.

Repair the Formula

Repair the aligned row rule

The range begins at row 2, but the formula was found one row out of alignment. Complete the repaired form for both applications.

spreadsheet conditional formatting
Applied range: A2:D7
Excel formula: 
Calc Formula is: 

Test Behavior and Inspect Overlaps

Check overlaps, then test reversibly

Check overlaps before testing values. The earlier amount-only cell rule for D2:D7 is obsolete when the row rule is the intended exception emphasis. If you find it in the manager, remove it; do not assume Excel and Calc will combine competing fills identically.

Conditional formatting changes display, not data. Your test edits temporarily change data, so restore each value after observing the result. Also treat the applied range as explicit: a future record below A2:D7 is not automatically covered unless you edit Excel’s Applies to or Calc’s Range.

Formatting reacts to a changed value

Before-and-after spreadsheet comparison showing one full record gaining exception emphasis above the limit and another losing it at the limit.

A correct row rule automatically adds or removes emphasis for the entire record when its own spending value crosses the strict greater-than threshold.

Expected reversible test behavior

With the intended row rule active and the obsolete cell rule removed, make each edit, observe the whole record, and immediately restore the baseline value.

These edits verify that the rule responds to the current numeric value rather than a manual fill.
Temporary editExpected emphasisAfter restoring
`D2`: 320 → 501Row 2 gains exception emphasis.`D2` returns to 320; row 2 clears.
`D3`: 640 → 500Row 3 loses exception emphasis at the boundary.`D3` returns to 640; row 3 is emphasized again.

Warning

Keep data and display distinct

A value of 500.00 is not an exception because the condition is strictly greater than 500. The pale amber format is only a display result; it does not alter the stored numeric value.

Audit Report

Perform an independent audit

Audit the Expenses sheet and write a concise report. First, diagnose this faulty setup: a row rule has applied range A2:D5; its formula is Excel =$D3>500 or Calc $D3>500; and an obsolete amount-only cell rule still covers D2:D7 with a different fill.

State the likely symptom of the incomplete range and the misaligned formula. Give the repaired Excel formula, repaired Calc Formula is expression, and correct applied range. State what to do with the obsolete cell rule. Then perform the two reversible tests on your intended row rule and report what happens as D2 changes 320 → 501 → 320 and as D3 changes 640 → 500 → 640. Leave the worksheet restored when finished.

Write at least 300 characters (0/300).

Step 6 of 6

Complete the Exception Review

Extend the finished row rule to a new record, then verify its formula, coverage, readability, and final exceptions.

Add the final record and extend coverage

Extend the existing row rule

First return the worksheet to its restored state: D2 must display 320.00 and D3 must display 640.00. Keep the pale amber, dark bold exception emphasis and the visible note in F1:F2.

Add the repair record in row 8. Then extend the existing row rule so it includes the new record but excludes the header and review note.

Excel: Go to Home > Conditional Formatting > Manage Rules. In “Show formatting rules for,” choose “This Worksheet.” If an obsolete amount-only rule appears for D2:D7, select it, choose Delete Rule, then choose Apply. Select the intended row rule and extend its Applies to range to include row 8.

Calc: Go to Format > Conditional > Manage. If an obsolete condition for D2:D7 appears, remove it. Edit the intended row rule’s Range to include row 8. Keep the conditional-formatting cell style named Review Exception.

New repair record

Enter this record in row 8 of Expenses.

Enter the record in A8:D8.
Record IDTeamItemSpend (USD)
EX-107OperationsRepair750.00

What the finished coverage looks like

A worksheet diagram with one header and seven data rows. Rows 3, 6, and 8 have whole-row exception emphasis, while the header and the separate review note are outside the formatted range.

The extended row rule covers the seven data records only, including the new row 8.

Check the rule definition

Formula and range audit

Complete this final rule-definition check from your worksheet. Use the Excel form, the Calc form, and the row rule’s final applied range.

spreadsheet conditional formatting
Excel formula: 
Calc Formula is: 
Applied range: 

Apply the complete audit

Final exception review

Inspect the completed worksheet and write one concise audit statement. Include the three highlighted record IDs; confirm that the header is excluded, the boundary value is not flagged, and the two temporary test values were restored. Also confirm that only the intended row rule remains and explain how the visible review note makes the rule understandable without relying on color alone.

Write at least 140 characters (0/140).

Consolidate the final result

Summary

Reusable audit sequence

A reliable exception review is more than a colored cell. It connects a precise condition to an aligned formula, a complete applied range, and readable on-sheet context.

  • The exception condition is spending strictly greater than 500.00.
  • The row rule uses a fixed Spend column and a relative record row.
  • The final applied range covers A2:D8, not the header or the note.
  • With restored values, EX-102, EX-105, and EX-107 are the exceptions.
  • F1:F2 explains the review rule even when color is not perceived.
  • A reusable audit checks condition, formula alignment, applied range, readability, and a reversible test.

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate