Structure (Cloud)

Using Formulas in Conditional Colors

When you add conditional colors to a structure, you can use formulas for more control over how the highlighting is applied. By associating a conditional colors rule with a formula, you can set up conditions based on calculations and comparisons that you can’t access with standard fields.

Adding Conditional Colors Based on an Existing Formula Column

If you already have a formula column in your structure, you can add a conditional color rule to highlight rows or cells based on that formula.

To do so:

  1. Open the View options:viewOptionsNew: menu and select Conditional colors.

  2. If you don’t have any rules defined, select +Add color rules. If you already have at least one color rule, select +Add another rule.

  3. Select the name of the formula you want to use from the Columns in this view section.

    image-20261117-235445.png
  4. Customize the rule based on your needs. Your changes are saved and applied automatically.

    2026-11-17_15-57-19 (1)-20261117-235752.gif

Adding Conditional Colors Based on a New Formula

You can create a formula-based conditional rule without already having that formula as a column in your current view.

  1. When you create a new conditional color rule select New formula…

    image-20261117-213013.png

You can also select any saved formula available on your instance, or one of Structure’s bundled formulas.

  1. While viewing the new rule, select ƒx Formula > Preview and configure column to open a preview of the formula as a column.

  2. Select Edit in the Detached column preview to open the Structure formula editor.

  3. Enter your formula and select Calculate.

  4. Return to the conditional color rule and enter the calculated Value you want to highlight.

    image-20261118-220319.png


Example: Highlight Completed Items

image-20261118-154721.png

The following animation shows an example of conditional color rule that highlights work items with the status category of Done.

2026-11-17_16-02-02 (1)-20261118-000246.gif

In this example, the formula returns a value of 1 if the item’s status matches Done and a 0 for all other statuses.

image-20261118-000624.png

After calculating the formula, set the value of the conditional rule to 1 to highlight the correct items.

image-20261118-000711.png