Conditional formatting logic - Why do empty cells get max-opacity color? #36812
Replies: 1 comment
-
|
This happens because the conditional formatting logic treats null or empty cells as numeric zero when applying rules like Recent updates added a "Use gradient" toggle, letting you switch between gradient (varying opacity) and solid (full opacity) color modes, but this doesn’t address the logic for nulls matching numeric conditions [source]. There’s also a new feature for boolean conditional formatting with explicit To align with database semantics ( If you want to see this fixed, the best approach is to update the comparator logic to treat null/empty as non-matching for numeric rules, or add a config option to control this behavior. For now, the only way to avoid the visual distraction is to use the boolean formatting or preprocess your data. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Empty/null cells are being highlighted with FULL color intensity when they technically shouldn't match the comparison logic.
Here's what happens:
The empties end up visually dominating the table, pulling attention away from actual data points that genuinely satisfy the condition.
There seems to be a mismatch between:
NULL < 10actually make sense?)Current visual weight:
🟡 Empty cells - Full opacity, bright colors (most noticeable)
🟠 Matching values - Lower opacity, subtle highlighting (less noticeable)
⚪ Normal cells - No highlight
This inverts the visual priority - the least important cells (empties) become the most visually prominent.
Proposal for Discussion
Could we consider any of these approaches?
A. Fix the logic (recommended):
NULL < 10→ FALSE (no highlight)B. Fix the visuals (if logic is intentional):
C. Add clarity (minimum):
Beta Was this translation helpful? Give feedback.
All reactions