Forum Discussion
sampak88
Mar 02, 2022Copper Contributor
Dynamic Conditional Formatting
I have a table where there are multiple rows: Question OveralRate Male Female PNTS xyz 44% 45% 55% 30% xyz2 38% 51% 32% ...
- Mar 02, 2022
=((C2<$B2-3)*(C2>=$B2-6))+((C2>$B2+3)*(C2<=$B2+6))
This is the rule for conditional formatting for Overall rate +/- 3 and +/-6 in the attached example file.
=(C2<=$B2+3)*(C2>=$B2-3)
This is the rule for conditional formatting for Overall rate +/- 3 in the attached example file.
Is this what you are looking for?
OliverScheurich
Mar 02, 2022Gold Contributor
=((C2<$B2-3)*(C2>=$B2-6))+((C2>$B2+3)*(C2<=$B2+6))
This is the rule for conditional formatting for Overall rate +/- 3 and +/-6 in the attached example file.
=(C2<=$B2+3)*(C2>=$B2-3)
This is the rule for conditional formatting for Overall rate +/- 3 in the attached example file.
Is this what you are looking for?
- sampak88Mar 02, 2022Copper Contributorok, worked it out. thanks!
- OliverScheurichMar 02, 2022Gold Contributor
You are welcome.
- sampak88Mar 02, 2022Copper Contributorif I wanted to get into the boundary between C2 and B2 of 0.01 to 0.03 and then from 0.04 to 0.06 I would have to
=(C2<=$B2+0.01)*(C2>=$B2+0.03)
=(C2<=$B2+0.04)*(C2>=$B2+0.06)
do I understand it correctly?