Conditional Formatting

Display of cells

Conditional Formatting uses a similar principle as Number Formats, with the difference that Conditional Formatting changes how a cell is displayed based on the cell value, instead of changing how the cell value itself is displayed. This is an important and dynamic tool to highlight data and make it easier for managers and decision makers to get a quick overview of the data. Conditional Formatting also supports analysis work in a few clicks.

Basic Conditional Formatting

Excel comes with several built-in Conditional Formats that are quite intuitive in their use. The built-in Conditional Formats can be divided into:

  • Scales: Single cells are gradually affected by all values in their selected ranges. This means the format of a single cell depends on the other values in the range.
  • Limits: Single cells are binarily affected by the limit values. This means the format of a single cell depends only on its own value compared to the manually set limit value.

Custom Conditional Formatting

There is also the possibility to create Custom Conditional Formatting rules. These rules can be customized by predefined options, logical statements or formulas. The formats applied to the cells that are triggered by the rules are also customizable.

For Supply Chain purposes we consider the following Custom Conditional Formats to be the most useful:

  • Format only cells that contain: The rules are triggered by logical statements.
  • Use a formula to determine which cells to format: The rules are triggered by formulas.

Conditional Formatting Rules Manager

The Conditional Formatting Rules Manager is a handy tool to trace and manage Conditional Formatting in the workbook. The drop-down list in the Manager can be used to filter on Conditional Formatting rules in Sheets and Tables.

Note: Go to Home > Conditional Formatting > Manage Rules…

Quick guides

Step 1 – Select a range to format (preferably a complete Table column).

Step 2 – Go to Home > Conditional Formatting.

Step 3 – Hold marker over Bars, Scales or Icons Sets alternatives.

Step 4 – See preview of result in marked cells.

Note: Preview with hovering the mouse over a conditional format is a quick way to evaluate which alternative fits best.

Step 5 – Select preferred Bars, Scales or Icon Sets.

Note: Since Bars, Scales and Icon Sets base their format on all values in the selected range, outliers that differ significantly from the rest of the data set might have to be removed or filtered out. Otherwise the Conditional Format might only be visible for the outlier.

Step 1 – Select a range to format (preferably a complete Table column).

Step 2 – Go to Home > Conditional Formatting.

Step 3 – Select preferred Highlight Cells Rule or Top/Bottom Rule.

Step 4 – Set a limit.

Note: Above Average and Below Average are exceptions that work like the Conditional Formats with Scales basing its formatting on all values in the selected range.

Step 1 – Select a range to format (preferably a complete Table column).

Step 2 – Go to Conditional Formatting > New Rule…

Step 3 – Create a logical statement rule:

Field 1 – Type of rule.

Field 2 – Logical statement.

Field 3 – Value to run the logical statement against.

Step 4 – Choose Cell Format (multiple options) for when logical statement is TRUE by clicking Format…

Option 1Number Formats

Option 2 – Font Styles: Regular, Italic, Bold, Bold Italic

Option 3 – Borders

Option 4 – Fill effects

Step 1 – Select a range to format (preferably a complete Table column).

Step 2 – Go to Conditional Formatting > New Rule…

Step 3 – Select Use a formula to determine which cells to format

Step 4 Write a formula with reference to the first cell in the range.

Note: The formula will only refer to the first cell in the range, but the Conditional Format will still apply to the whole range.

Note: Learn more about Logical Functions in the Excel Formulas module.

Step 1 Name the cell that holds the dynamic drop-down list.

Step 2 – Select a range to format (preferably a complete Table column).

Step 3 – Go to Conditional Formatting > New Rule…

Step 3 – Select Format only cells that contain

Step 4 Write a reference to the named cell. Alternatives selected in the drop-down list will now be formatted.

Lesson content