Excel: formula if cell background is colored

Ppouille Posted messages 306 Registration date   Status Membre Last intervention   -  
gbinforme Posted messages 14930 Registration date   Status Contributeur Last intervention   -
Hello, is it possible in Excel to create the following formula:
If the background color of cell A1 is colored, then A2 takes the value of that cell, otherwise 0.
Thank you.

Configuration: Windows / Edge 14.14393

5 réponses

Raymond PENTIER Posted messages 58546 Registration date   Status Contributeur Last intervention   17 474
 
It's quite complicated.
There is no Excel function that can read a color.
You would need to create a macro in VBA...

--
Retirement is nice! Especially in the Caribbean... :-)
Raymond (INSA, AFPA, CF/R)
2