Highlight Cells Above a Reference Value

Excel Formulas › Conditional Formatting

All versionsComparison

Highlight everything above a threshold you control from a cell — change the cell and the highlights update. A formula rule comparing each value to a reference cell makes the threshold interactive.


Quick formula: with a threshold in $E$1, select the data and add:
=A1 > $E$1
Each cell is compared to the locked reference cell. Type a new threshold in E1 and the highlights re-flow.

The example

Values above the threshold in E1 (100) are flagged.

AB
1ValueFlag
2120above
380

The formula

Compare each value to a cell:

=A1 > $E$1 // interactive threshold from E1

How it works

An absolute reference makes the threshold live:

  1. Put the threshold in a cell (E1) so it’s easy to change.
  2. Select the data and add the rule =A1 > $E$1 — the reference is locked with $.
  3. Every value above the threshold gets the format; change E1 and the whole range re-evaluates.
  4. Use >=, <, or <> for other comparisons, or two rules for an above/below split.

Between two thresholds? =AND(A1>=$E$1, A1<=$E$2) highlights a band. A reference-cell threshold is the dashboard-friendly way to let users explore data without editing rules.

Try it: interactive demo

Live demo

Set a threshold; values above it highlight.

Variations

Between two cells

A band:

=AND(A1>=$E$1, A1<=$E$2)

Below a cell

Flag the low ones:

=A1 < $E$1

Above average cell

Reference a computed cell:

=A1 > $E$1 (E1 = AVERAGE(...))

Pitfalls & errors

Lock the reference. Use $E$1 so every cell compares to the same threshold; a relative ref drifts.

Active-cell relative ref. The A1 must match the top-left of your selection.

Blank threshold = everything. An empty E1 counts as 0, so every positive value highlights. Guard if E1 may be blank.

Practice workbook

📊
Download the free Highlight Cells Above a Reference Value practice workbook
An interactive threshold CF rule, the band and below variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I highlight cells above a value in a cell?
Add a formula CF rule =A1 > $E$1, with the threshold in E1 locked by $. Change E1 and the highlights update.
How do I highlight a band between two values?
Use =AND(A1>=$E$1, A1<=$E$2) with the two limits in E1 and E2.
Why does locking the reference matter?
Without $E$1, the threshold cell shifts row by row and the comparison is wrong. Absolute keeps every cell comparing to the same threshold.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Highlight above average · Highlight with a formula · Highlight min & max