Create custom conditional formatting rules
- 1Select the cells.
- 2Home › Conditional Formatting › New Rule, or More Rules at the bottom of any of its menus.
- 3Pick the rule type and set your own values, thresholds and format.
- 4OK.
A custom rule is one you set up yourself rather than take as a preset: your own value and format, icon thresholds of your choosing, or colour-scale anchors at fixed numbers.
What the MO-211 task asks
Our MO-211 practice exams ask for the settings a preset does not give: “On the Stock column E4:E15, add a Bottom 3 items rule formatted as bold font in the standard color Red — no fill,” or “add a 3-flags icon set with Number thresholds: a green flag at 12 or more, a yellow flag at 6 or more, red below.”
Our grader reads the rule itself: its type, its rank or thresholds, the type of each threshold (Number, not Percent), and the format. A rule that looks right on this data can still fail if a threshold is a percent.
The words to watch for are the ones that change a default: Number thresholds, fixed anchors, bold, no fill.
Worked examples
Set up the grid below to follow along. Each example starts from it as shown; every result is what Excel showed.
| A | B | C | |
|---|---|---|---|
| 1 | Team | Score | Change |
| 2 | Ash | 92 | 0.12 |
| 3 | Birch | 55 | -0.05 |
| 4 | Cedar | 78 | 0 |
| 5 | Elm | 40 | 0.2 |
| 6 | Fir | 66 | -0.15 |
| 7 | Oak | 85 | 0.03 |
- 1Select B2:B7. Conditional Formatting › Top/Bottom Rules › Bottom 10 Items.
- 2Change 10 to 2. In the format list, Custom Format: Font, Bold, colour Red. OK, OK.
The count and the format are both yours, rather than one of the presets in the dialog's format list.
- 1Select B2:B7. New Rule › Format only cells that contain: Cell Value, between, 60 and 80.
- 2Format: bold, with a light amber fill. OK.
Between includes both ends. Any mix of font, border and fill can go in one rule's format.
- 1Select C2:C7. Conditional Formatting › Icon Sets › More Rules: 3 Arrows.
- 2Set both Types to Number: up arrow when >= 0.1, sideways when >= 0. OK.
A new icon set starts with Percent thresholds at 67 and 33. Change the Type before you type the value.
- 1Select B2:B7. Color Scales › More Rules, 3-Color Scale: Minimum Number 0, Midpoint Number 50, Maximum Number 100. OK.
A new 3-colour scale starts at Lowest Value, Percentile 50 and Highest Value, which move with the data. Fixed anchors do not.
- 1Select B2:B7. Bottom 10 Items, change to 2, Custom Format: Bold, Red.
The first example, done in Excel on the same sheet.
Watch it done in Excel
The last example above, recorded in real Excel on the same grid.
Exam traps
Icon sets start with Percent thresholds. The arrows can look right on the data while the thresholds are still percents, and our grader reads the threshold's type. Set the Type to Number.
The format list in the Top/Bottom and Highlight dialogs offers ready-made formats. A format the task spells out, such as bold red text with no fill, is under Custom Format.
Fixed anchors mean Number, with the task's values. Lowest Value and Highest Value move every time the data changes.
FAQ
What makes a rule custom?
Setting it up yourself: the value, the format, the thresholds. A preset applies Excel's own choices in one click.
Where is New Rule?
Home › Conditional Formatting › New Rule. Each submenu, such as Icon Sets or Top/Bottom Rules, also ends with More Rules, which opens the same dialog for that rule type.
Can one cell have more than one rule?
Yes. Formats that do not clash are combined: a fill from one rule and bold from another both show.
Try it under exam conditions
Take a full, timed MO-211 practice exam, upload the workbook you built, and get a score out of 1000 with a per-task breakdown of where the points went. Your first one is free.
No credit card needed.
