Multifunctional Conditional Formatting Range
I want to give a quick indication using colored cells of the time that can be taken to complete the task. For example:
if cell B2 = 1, then fill the range of cells G2: H2 with light red; if cell B2 = 2, then fill the range of cells G2: J2 with light red; if cell B2 = 3, then fill the range of cells G2: L2 with light in red
How can I achieve this?
source to share
If you want a dynamic formula and only one format , you can select all the cells you want to format and then create a new conditional formatting rule using the formula:
=$B$2*2+COLUMN($G:$G)-COLUMN()>0
Which will affect 2 extra cells every time you increase $B$2
. I used your examples $B$2
and am starting with $G:$G
, but you can change them if needed.
If you need multiple format settings, this won't work.
source to share