Highlight Cells Based on Values in Excel

July 13, 2026

Highlight Cells Based on Values in Excel

The most common use of conditional formatting is highlighting cells that meet a specific value condition — greater than a threshold, equal to a specific word, or between two numbers. Here is how to set up these rules and make your data immediately readable.

Highlight Cells Rules

Go to Home → Conditional Formatting → Highlight Cells Rules. You will see these options:

  • Greater Than: Highlight cells above a threshold
  • Less Than: Highlight cells below a threshold
  • Between: Highlight cells within a numeric range
  • Equal To: Highlight cells matching an exact value or text
  • Text That Contains: Highlight cells where the text includes a keyword
  • A Date Occurring: Highlight dates that fall within a relative period (yesterday, last week, next month)
  • Duplicate Values: Highlight either duplicate or unique values

Setting Up a Rule

  1. Select the cells you want to apply the rule to.
  2. Go to Home → Conditional Formatting → Highlight Cells Rules → Greater Than (or your chosen rule).
  3. Enter your threshold value.
  4. Choose a format from the dropdown (light red fill, yellow fill, green text, etc.) or click Custom Format to design your own.
  5. Click OK.

Top and Bottom Rules

Go to Conditional Formatting → Top/Bottom Rules to highlight:

  • Top 10 items (or any number)
  • Top 10% (or any percentage)
  • Bottom 10 items
  • Bottom 10%
  • Above average
  • Below average

These rules are relative — they recalculate automatically as your data changes, always highlighting the current top or bottom performers.

Combining Multiple Rules

Apply multiple rules to the same range. For example: cells above 5000 in green, cells below 1000 in red, and cells between 1000 and 5000 in yellow. This three-color traffic light system instantly shows performance at a glance across any dataset.

Back to Blog