Hi,
I am trying to conditional format a sum cell based on other cells colors.
I have A1 which sums A2 to A5. A2 to A5 are conditional formatted as follow: if empty red, if any number turns white.
A1 is also red and I need it to turn white only if ALL the cells below (A2 to A5) have turned white. I currently have the same rule in A1 as of in A2 to A5 = if empty red, if any number white, however with this A1 changes as soon as any of the cells (A2 to A5) turns white, meaning that I could still have red cells in A2 to A5 and A1 would have already changed to white based on only one of the cells inputs.
I have tried a couple of VBA codes, but these have to be triggered somehow. Is there a way to implement this automatically, i.e. as soon as the color of cells A2-A5 change?
Thanks!
I am trying to conditional format a sum cell based on other cells colors.
I have A1 which sums A2 to A5. A2 to A5 are conditional formatted as follow: if empty red, if any number turns white.
A1 is also red and I need it to turn white only if ALL the cells below (A2 to A5) have turned white. I currently have the same rule in A1 as of in A2 to A5 = if empty red, if any number white, however with this A1 changes as soon as any of the cells (A2 to A5) turns white, meaning that I could still have red cells in A2 to A5 and A1 would have already changed to white based on only one of the cells inputs.
I have tried a couple of VBA codes, but these have to be triggered somehow. Is there a way to implement this automatically, i.e. as soon as the color of cells A2-A5 change?
Thanks!