Highlight cells and rows with colour
Conditional Highlights colours cells or whole rows in a View by rules you set, like conditional formatting in a spreadsheet, to flag outliers, track KPIs against a target or make a pattern visible. Open it with the brush icon (tooltip Conditional Highlights) in the View's action bar. Highlights don't change your data or add a pipeline task, and they are saved to the View, so everyone who opens it sees them.
Choose a Condition Rule or a Color Scale
| Rule type | What it does | Best for |
|---|---|---|
| Condition Rule (the Rules tab) | One solid colour on rows or cells that match a condition | Flagging values, thresholds or categories |
| Color Scale (the Color Scale tab) | A gradient across a number or date column, based on its range (Add a colour scale) | Showing distributions and rankings |
Open the Conditional Highlights panel
The panel opens beside the grid. Click the brush icon in the action bar, click the Highlights tab on the right edge of the View, or select Conditional Highlights in a column's 3-dot menu (which also picks that column in the rule builder).
Highlight rows or cells that meet a condition
- Click New conditional highlight. The builder opens on the Rules tab.
- Build the condition: pick a column, an operator and a value.
- In Apply to, choose Cells or Entire row.
- Pick a colour swatch.
- Click Save highlight.
Build the condition
Each condition has at least one row with a column, an operator and a value.
Combine conditions with And (all must match) or Or (any can match). Click Condition to add one, or Group to nest them, for example (Region = "West" OR Region = "East") AND Sales > 5,000. The builder is the one Conditional Filter uses, with the same operators (Filter rows), but without the AI bar.
The grid shows your rule live once the condition is valid and a colour is picked.
Colour only some cells or the entire row
| Apply to | What gets coloured |
|---|---|
| Cells (default) | Only the cells in the columns you pick |
| Entire row | Every cell in the matching row |
With Cells, the builder picks the first column in your condition. Use the column picker below Apply to to add or remove columns. These can differ from the columns the condition tests.
Pick a colour
There are 18 preset swatches in two groups:
- Background colours (8): fill the cell background.
- Text-only colours (10): change only the font colour, with no fill.
Rules have no names; each card shows a summary of the condition, for example brand is 'BasicWear'. Closing the builder without saving discards the rule, with a confirmation if you made changes.
Manage highlight rules: turn off, reorder, edit and delete
Each rule is a card in the panel.
| Part of the card | What it does |
|---|---|
| Colour swatch | A solid square for a Condition Rule, a gradient bar for a Color Scale |
| Title | The rule's name, or the condition summary |
| Subtitle | The number of highlighted columns (2 columns), Entire row, or the scale preset (Red → Yellow → Green) |
| Drag handle | Reorders the rule. Hidden when there is only one rule. |
| Warning icon | A column the rule uses is missing or changed type. See Troubleshooting. |
| Toggle | Turns the rule on or off without deleting it. Off rules look dimmed and colour nothing. |
| Edit | Opens the builder with the rule's settings. Changes apply when you click Save highlight. Close the builder to drop them (you're asked to confirm if you changed something). |
| Delete | Asks you to confirm, then removes the rule for good. There is no undo. |
Drag cards to reorder them; the order saves straight away and decides which rule wins.
Troubleshooting highlight rules
A warning icon on a rule card means a column the rule uses can't be found in the View, or its type changed. This happens when a column was removed, or converted (for example from Text to Numeric) after the rule was made.
- Click Edit on the rule card. A banner at the top of the builder names the affected columns.
- Remove the column from the condition or replace it with a valid one.
- Click Save highlight.
Save highlight stays off while any column in the builder has this error, so you can't save any change to the rule, even to valid conditions, until you fix it. Until then, the saved rule is skipped and colours nothing.
| Symptom | Cause | Fix |
|---|---|---|
| A rule colours nothing | It is toggled off, a higher rule wins, or it has a warning icon | Turn it on, move it up, or fix the column |
| Empty cells aren't highlighted | An empty cell doesn't match a number condition | Add a rule with is Empty |
| The rule doesn't show while you build it | The condition is incomplete or no colour is picked | Finish the condition and pick a colour |
Related
- Which highlight rule wins when several match: rule order with a worked example.
- See and filter rows that match a highlight: focus mode and its actions.
- Explore cards: explore a column's values before you colour them.
- Views: create, rename and delete: highlights are saved per View.
Something wrong? support@mammoth.io