fonction SI à résoudre

F

formaction

Bonjour
j'aimerai mettre un chiffre 1 dans une cellule si la cellule d'à côté est en
fond bleu , sans chiffre

est-il possible de faire un SI pour résoudre ce problème
merci d'avance
 
R

Roger Govier

Hi

I apologise my French is not good enough to reply in your language, but
I hope that you can read English.
If I understand your question correctly, this can only be done through
VBA.

Try the following function

Function findblue(range As range)
If ActiveCell.Offset(0, -1).Font.ColorIndex = 5 Then
findblue = 1
End If
End Function

=Findblue(A1) entered in cell B1, will return 1, if the font in A1 is
blue.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top