Draw the eye to the standouts. A formula rule using AVERAGE shades every value above the group’s mean — flip the comparison to catch the laggards instead.
The example
Sales by rep; the average is 30, so above-average reps are flagged.
| A | B | |
|---|---|---|
| 1 | Rep | Sales |
| 2 | Ann | 42 |
| 3 | Bo | 18 |
| 4 | Cy | 35 |
| 5 | Di | 25 |
The formula
The conditional-formatting rule:
How it works
The rule compares each cell to the live average:
- Select B2:B20 and add a formula rule:
=B2 > AVERAGE($B$2:$B$20). - The test cell
B2is relative (walks down); the range inside AVERAGE is locked so every row compares to the same mean. - Any cell above the average returns TRUE and gets the fill. Because AVERAGE recalculates, the highlights update as data changes.
- For below-average, just reverse it:
=B2 < AVERAGE($B$2:$B$20).
Built-in version: Conditional Formatting → Top/Bottom Rules → Above Average does this without a formula. The formula version wins when you want a custom benchmark — e.g. compare to a target in a cell: =B2 > $E$1.
Try it: interactive demo
Edit the numbers; above-average cells highlight.
Variations
Below average
Catch the laggards:
Above a target cell
Compare to a benchmark in E1:
Within 10% of average
Highlight the “typical” band:
Pitfalls & errors
Lock the AVERAGE range. If $B$2:$B$20 isn’t absolute, the range drifts row by row and the benchmark is wrong.
Blanks count as zero? AVERAGE ignores truly blank cells but counts cells containing 0, which can drag the mean down. Clean the data if blanks are really “no value.”
Ties at the average. > excludes cells exactly equal to the mean; use >= if you want to include them.
Practice workbook
Frequently asked questions
How do I highlight cells above average in Excel?
How do I highlight below-average cells?
Can I compare to a custom target instead of the average?
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