Formatting and Highlighting Data in a Workbook

Applying Conditional Formatting

Objective

After completing this lesson, you will be able to apply conditional formatting to an SAP Analytics Cloud table by defining thresholds with value ranges and styles to automatically highlight measure values that require attention.

Seeing Exceptions at a Glance

When you review a large table, identifying values that require attention takes time. A revenue figure below target, a cost exceeding budget, or a margin dropping below an acceptable level can go unnoticed when every row looks the same.

Conditional formatting removes this effort. It automatically applies colors to table cells based on their values. When a measure value falls within a range you have defined, the add-in immediately highlights the corresponding cell. The exceptions stand out - you no longer need to scan every row to find them.

In the SAP Analytics Cloud, add-in for Microsoft Excel, conditional formatting works through thresholds. A threshold is a rule that links a measure to one or more value ranges. Each range has a visual style. When a cell value falls within a range, the add-in automatically applies the associated style to that cell.

Conditional formatting transforms a plain data table into one with color-coded rows highlighted in red, green, and yellow.

Adding a Threshold in a Table

Conditional formatting is available on the Styling tab in the Designer panel. Open the Designer panel, select the Styling tab, and locate the Conditional Formatting section. This section displays all active thresholds for the selected table.

To define a conditional format, choose Add Threshold in the Conditional Formatting section.

Conditional Formatting section in the SAP Analytics Cloud add-in for Microsoft Excel pane offers Add Threshold for the selected Gross Margin table

Configuring the Conditional Formatting

The Threshold Definition panel provides the following settings to configure a conditional formatting threshold.

SAP Analytics Cloud add-in for Microsoft Excel add threshold panel configures Gross Margin with color background styling, a range below 1, and Apply and Close buttons

Complete the following fields:

  • Name

    Enter a unique, descriptive name for the threshold — for example, Sales Performance or Cost Variance. This name appears in the threshold list and helps you identify the rule when multiple thresholds are active for the same table.

  • Account

    Select the measure whose values you want to evaluate. Depending on the model or data source, this field may be labeled Measure or Account.

  • Style

    The Style setting controls how the add-in applies color to the cells. Choose Color Background to apply the range color to the cell background, or Color Values to apply the range color to the value text. Select the option that best suits the visual effect you want to achieve in your workbook.

  • Ranges

    A range maps a set of values to a visual style. For each range, select a threshold style - Good (green), Warning (yellow), or Critical (red) - to represent the performance level associated with that range. These correspond to the default SAP Analytics Cloud, add-in for Microsoft Excel threshold styles. Then set a lower bound and an upper bound to define which values fall into the range. You do not need to set both bounds - leave one side open to capture all values below or above a specific number.

    To cover additional value bands, choose Add Range. Each range you add operates independently within the same threshold. If you need the formatting to apply only to specific dimension members, choose Add Filter to restrict the threshold to a particular region or product category, for example.

  • Filter

    Choose Add Filter if the threshold should apply only to specific dimension members — for example, a particular region or product category.

When your definition is complete, choose Apply and Close to confirm the threshold and apply the formatting to the table.

Managing Your Thresholds

Three icons are available next to each threshold:

  • The Eye icon shows or hides the threshold formatting in the table without removing the definition. Use this option when you want to temporarily suppress the visual highlighting without losing your settings.
  • The Pencil icon opens the threshold definition panel so you can modify its name, measure, style, or ranges.
  • The Trash icon permanently deletes the threshold. The formatting is removed from the table immediately.
SAP Analytics Cloud add-in for Microsoft Excel side pane highlights Conditional Formatting for Gross Margin with view, edit, and delete controls

Caution

High-volume mode is a table configuration that optimizes performance for large datasets. It is enabled from the table's context menu in the Designer panel. When active, some styling features, including conditional formatting, are not available.

Summary

Let's summarize what you've learned:

  • Use conditional formatting to automatically highlight measure values based on value ranges you define.
  • Access conditional formatting from the Conditional Formatting section in the Styling tab of the Designer panel.
  • Define each threshold by selecting a measure, a highlighting style, and one or more ranges with lower and upper bounds.
  • Assign a threshold style - Good, Warning, or Critical - to each range to reflect performance levels visually.
  • Manage active thresholds from the Styling tab by editing, activating, deactivating, or deleting them at any time.