Formule Excel : mettre une couleur dans une cellule si...

Solved
laumondpointcom -  
 D7 -
Comment intègre-t-on la fonction d'une couleur dans une cellule d'une formule équivalente à celle-ci :

=SI(A1=A2;"Oui";"Non")

avec une fonction couleur verte par exemple pour le Oui, et Rouge pour le Non ?

3 answers

zied
 
Hello
to answer you:
  • write the formula =IF(A1=A2,"Yes","No") in the corresponding cell and automate the calculation
  • select the results (yes and no)
  • drop down the format menu
  • choose conditional formatting
  • specify the necessary conditions (equal to, greater than, ...)
  • click on format and choose the desired formatting
  • to add a condition click on add (up to 3 conditions)
55
Charles
 
Thanks for the info!
It works perfectly.
0
Romain
 
Thank you, great feature!
0