Table + Conditional Formatting
Variant: Standard
Made-up data, for demonstration only
Variants
6 types · click one to see it in the frame above- Difference from standard
- The recommended type; use it as a starting point
- Use when
- Users need to read the actual numbers across many rows
Conditional Formatting Table is a table of numbers where colour or a mark picks out only the cells that meet a rule. The example shows results for 5 regions (made-up data) in 4 columns: region, this year, last year and percent of target. Cells that reach the target are highlighted in orange.
How to read a Conditional Formatting Table
- Rows are regions and columns are numbers: this year, last year and percent of target.
- Orange means at or above target (100% or more). Here Central is at 104% and South at 112%.
- Grey means below 90% of target. Here the Northeast at 88% is the region to look at first.
- Cells with no colour sit in between. North at 96% and East at 99% are close to target but have not reached it.
- All the numbers are still there. Readers can read the real values even if they cannot tell the colours apart.
- Numbers are right-aligned, so digits of the same place line up for easy comparison.
When to use it
- Readers need the real numbers and must also spot unusual values. Use colour only on what matters, keep the numbers and explain the rule. Colour should not be the only signal.
- You report several metrics across several categories, such as a branch or regional report.
- There is a clear rule, such as met target or below threshold, so everyone agrees on what a colour means.
When not to use it
- You want to see the pattern in a large number of values. Use a Heatmap.
- There are only a few numbers. Use a KPI Card.
- You want to compare values with a target visually. Use a Bullet Chart.
- The table is large, with dozens of rows and many columns. Colour across the whole table means nothing stands out.
Common mistakes
1. Too much colour
If every cell has colour, nothing stands out. Highlight only the values that need attention. This example highlights just two high cells and one low cell.
2. Not explaining what the colours mean
Write the rule under the table, such as "orange = met target, grey = below 90%".
3. Using only red and green
Colour alone may not carry the whole meaning. Keep the numbers and explain the rule. This example uses orange and grey and shows the percentage in every cell.
4. Too many decimal places
Round the numbers for easy reading and use the same number of decimals throughout a column.
5. Unclear column headings
Put the unit in the column heading and align by type: numbers to the right, text to the left.
Compared with similar charts
| Chart | How it differs | Choose it when |
|---|---|---|
| Conditional Formatting Table | A table of numbers with only some cells highlighted | You need to read real values and spot outliers |
| Heatmap | Colour stands for every value | You want the overall pattern |
| Bullet Chart | Bars against a target | You want values against target as a picture |
| Frequency Table | A table of counts | Summarising a distribution |
Frequently asked questions
How is conditional formatting different from a heatmap?
Conditional formatting highlights only the cells that meet a rule and keeps all the numbers. A heatmap colours every cell by its value.
How many cells should I highlight?
Only those the reader must act on. This example highlights three of 15 number cells.
Is this example real data?
No. It is made-up data for 5 regions.
References
- Data visualisation: tables · UK Government Analysis Function · analysisfunction.civilservice.gov.ukUsed to confirm: how to lay out numbers in a table
Last updated 28 Nov 2026
In the same group
- KPI Card / Big Number
- Gauge / Speedometer
- Progress Bar
- Pareto Chart
- Control Chart
- Run Chart
- Candlestick / OHLC
- Depth / Order Book Chart
- ROC Curve
- Confusion Matrix
- Cumulative Gains Chart
- Forest Plot
- Volcano Plot
- Ternary Plot
- Contour / Surface Plot
- 3D Scatter Plot
- Burndown Chart
- Kaplan–Meier
- Bland–Altman Plot
- Pivot Table / Matrix
- KPI Tree / Driver Tree
- Radial Bar / Progress Ring
- Table with Sparklines
- RAG Scorecard
- Data Table