Excel: formula if cell background is colored

Ppouille Posted messages 306 Registration date   Status Member Last intervention   -  
gbinforme Posted messages 14930 Registration date   Status Contributor 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 answers

  1. Raymond PENTIER Posted messages 58229 Registration date   Status Contributor Last intervention   17 493
     
    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