Forum Discussion
Conditional format - fill multiple columns base on a single column's value
I can't figure out how to edit this rule. Is there a way to create or access theses rules other than through the dropdown.
Also, is there anywhere that shows rule syntax?
Select your range, Conditional Formatting->New Rule->Use a formula... Here add your formula and apply desired format
To edit the rule Conditional Formatting->Manage Rules->Edit rule.
Syntax is simple - any formula which returns TRUE triggers the formatting, all other results are ignored. Bit simplified, the rule is applied to you range cell by cell starting from top left one. Relative and absolute references behaviour is to be taken into account.
Thus in our case rule in formula bar (=$B1>0) will be applied to the cell A1. For the next cell down the formula to check A2 value will be (=$B2>0), etc. Formula is modified the same way as if you type it in A1 and after that drag down and to the right, the only it's done in background.
- BobFiskeFeb 13, 2019Copper Contributor
Thank you so much! Works like a charm.