Formula or Function using IF statement on Cell Colors

Copper Contributor

Hi all,

 

I'm having a problem on how to link a color. What i want to do is IF Cell A1 or A3 OR A5 is filled with color then cell A10 should have a Value of 1 then if A1 has no color Fill but A3 & A5 have color fill then A10 Should still has a value of 1 OR if at least one among A1,A3 & A5 has color fill the value of A10 should be equal to 1 .

Then if A1, A3, & A5  has no color fill the value of A10 should be blank. 

 

Hope you help me guys :)

Thank you

 

 

 

1.png2.png3.png

2 Replies

@Taph17   Although there are ways to do this, it is not the way excel is really designed.  Maybe if you gave us more information about the big picture we could suggest a better solution.  Off hand right now I would suggest you use numbers in those cells to indicate "on" state and then you can add conditional formatting to "highlight" them if needed.  You can even use the conditional formatting rules to make the text 'invisible' (i.e. same color as background).

Otherwise the solutions I see use either a complicated trick using get.cell in the name definitions or VBA. 

I went ahead an created a sample sheet using conditional formatting I mentioned above.

count fill.xlsx - Saved 6_30_2020 12_08_01 PM.png

@mtarler, Got it sir, i will try conditional formatting, if it doesn't work, i will try to provide a broader explanation of my problem. Thank you