Skip to content

How to highlight cells greater than a value in Excel and Google Sheets

Topic:Conditional formatting
Excel & Google Sheets
=A2>100

Verified example

Computed by a real spreadsheet engine on the sample data below.

Value
80
150
100
210
55

=A2>100FALSE

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Select the range you want to format, e.g. A2:A100.
  2. 2Excel: Home → Conditional Formatting → Highlight Cells Rules → Greater Than. Google Sheets: Format → Conditional formatting → "Format cells if…" → Greater than.
  3. 3Type the threshold (e.g. 100), pick a fill colour, and confirm. Every cell above the threshold is highlighted, live.
  4. 4For a dynamic threshold, keep the cutoff in a cell (say E1) and use a custom formula rule instead: =A2>$E$1 — change E1 and the highlighting updates everywhere at once.
  5. 5For greater-than-or-equal, use the custom formula =A2>=100 — the built-in rule is strictly greater-than.
  6. 6To highlight the entire row when one column exceeds the threshold, select the full-width range (A2:D100) and use =$B2>100 — the $ locks the check to column B while the rule paints all columns.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

How do I highlight the whole row, not just the one cell?

Select the entire data range (all columns), then use a custom formula with the column locked: =$B2>100. Each row is painted when its column-B value exceeds the threshold.

Can the threshold come from a cell instead of being typed into the rule?

Yes — use a custom formula rule like =A2>$E$1 with the threshold in E1. In Google Sheets you can also write =A2>INDIRECT("E1") if the rule complains about direct references.

How do I do greater than or equal to?

The built-in rule is strictly greater-than, so switch to a custom formula: =A2>=100.

Can I highlight cells greater than a value only when another condition holds?

Combine tests with AND in a custom formula: =AND(A2>100,$C2="Active") highlights values over 100 only on rows whose status column reads Active.

More on Conditional formatting

See all →

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: