Formula: If with 3 conditions

Solved
Cabrina Posted messages 273 Status Membre -  
 Untel -
Hello,

I'm looking to create a formula with 3 conditions:

I have a first column with 0, 2, or 7
I would like the following result: if I have the number 0 or 7 I want index 1, if it's 2 index 0

Thank you in advance,

Configuration: Windows / Internet Explorer 10.0

4 réponses

PHILOU10120 Posted messages 6463 Registration date   Status Contributeur Last intervention   833
 
Hello Cabrina

Try this

=IF(OR(A1=0,A1=7),1,0)

--
It is by forging that one becomes a blacksmith. - It is at the foot of the wall that one sees the mason - one always learns from their mistakes.
1
Cabrina Posted messages 273 Status Membre 6
 
Simple but effective, thank you very much :)
0