Skip to main content

Group Conditional Formatting

Apply visual rules to group columns based on group codes or related field values. Use these rules to highlight specific groups and control drill-down behavior.

When to use group conditional formatting

  • Highlighting key groups: Draw attention to groups that are significantly large or underperforming.
  • Controlling row expansion: Specify which groups allow drill-down for additional details.
  • Emphasizing categories: Maintain user focus by visually distinguishing important group categories.

Define group conditional formatting rules

  1. Do one of the following to open the Conditional Formatting (Group) dialog:
    • Click the three dots next to the Groups section and select Conditional Formatting.
    • Right-click a Group header column in the worksheet and select Conditional Formatting.
    • In the Toolbar panel, select Worksheet Properties. Expand Groups, select the field, and click Conditional Formatting.
  2. Click the + icon to creare a new rule, or the pencil icon to edit an existing one.
  3. Make your selections from the available options.
  4. Click Confirm when finished.
  5. Click Confirm again in the Conditional Formatting (Group) dialog to apply the rule.

Conditional formatting options

The following options are available when creating or editing a conditional formatting rule:

OptionDescription
Dependent ColumnSelect the column whose values trigger the formatting. You can use the group or a different column.
Compare withChoose the comparison type:

  • Constant – Use a fixed value you set for comparison.
  • Global Variable – Use a variable that can be updated for all rules, such as a minimum threshold or color range.
  • Column – Compare values against another column—for example, checking if the actual date exceeds the due date or if actuals are above budget.
Value ConditionSelect a condition operator. Options depend on the data type from Dependent Column:

  • Number: Between, Not Between, Equal to, Not Equal to, Greater than, Less than, Greater than or equal to, Less than or equal to.
  • Character: Containing, Equal to, Not containing, Beginning with, Null, Not null, Ending with, In, Not in.
Level of rule appliedChoose the group level to apply the rule:

  • Everywhere
  • Last level only
  • This group only
  • Not this group
  • This group and lower level
  • This group and higher level
StyleApply font formatting: Regular, Italic, Bold, Bold Italic.
BorderAdd borders to cells. Define edge, style, and width (top, bottom, left, right).
IconDisplay a visual indicator (such as arrows, flags, symbols) based on the value.
ColorChange the font color when the condition is met.
Background ColorSet the background fill, or select Transparent for no fill.
Background OptionChoose how to apply the background:

  • Full – Fill the entire cell.
  • Based on Cell Value – Fill proportionally by value.
  • Based on Percentage of Parent – Fill based on the value relative to its group.
Allow Row ExpansionSpecify whether users can drill down into a group. Useful for restricting access to detailed data—such as hiding transactions in a specific GL account on an income statement.
PreviewView how the formatting will look before applying.
CommentAdd a description detailing the purpose of the rule.

Change the priority rules

When you have multiple rules defined in the Conditional Formatting (Group) dialog, you can adjust their priority.

  1. Open the Conditional Formatting (Group) dialog.
  2. Select a rule and use the up and down arrows to move it higher or lower in the list. The higher a rule appears in the list, the greater its priority.
  3. Click Confirm when finished.
note

Only the first matching rule applies to each cell. Remaining rules are ignored for that cell.