Skip to main content
Albero Academy

Conditional Formatting

Let the data highlight itself — value rules, data bars and colour scales, and powerful formula-based rules that format whole rows.

Chapter 15Excel13 min readBeginner friendly
  • #Excel
  • #Formatting
  • #Visualisation

Conditional formatting changes a cell's appearance based on its value — so patterns, outliers and problems jump out automatically without you scanning numbers. It's the fastest way to make a spreadsheet readable, and formula-based rules make it genuinely powerful.

Why conditional formatting?

A wall of numbers hides its story. Colour the overdue rows red, shade the top performers green, add bars to a column — and the eye finds what matters instantly. It updates live as the data changes.

Highlight rules

value-based highlighting
Home → Conditional Formatting →
• Highlight Cells Rules → Greater Than 1000
• Top/Bottom Rules → Top 10 items, or Above Average
• Highlight duplicate values

Data bars & colour scales

  • Data Bars draw an in-cell bar proportional to the value — a mini bar chart across a column.
  • Colour Scales shade cells on a gradient (e.g. red→yellow→green) — a heat map of your data.
  • Icon Sets add arrows or traffic lights based on thresholds.

Formula-based rules

The powerful part: a rule driven by a formula that returns TRUE/FALSE. This lets you format an entire row based on one cell — the key to readable trackers:

highlight whole rows
New Rule → "Use a formula to determine which cells to format"
Formula: =$D2="Overdue" ($ locks the column, D varies by row)
Apply to: the whole data range.
Result: every row whose column D is "Overdue" turns red.

Practice

Highlight sales above ₹1000, add data bars to a revenue column and a red-green colour scale to scores. Then write a formula rule that turns an entire row red when its "Status" column says "Overdue" using a $D2-style mixed reference.

Key takeaways

  1. 01Conditional formatting styles cells by value so patterns and outliers surface automatically.
  2. 02Highlight Rules (greater than, top/bottom, duplicates) format matching cells.
  3. 03Data Bars, Colour Scales and Icon Sets turn a column into a mini chart / heat map.
  4. 04Formula-based rules (returning TRUE/FALSE) unlock whole-row formatting.
  5. 05Use a mixed reference ($D2) to make each row test its own cell — the key to row highlighting.