Si J14= Non alors G7= 1 mais Si J14= Non alors G7=2

mkd -  
Raymond PENTIER Messages postés 58990 Date d'inscription   Statut Contributeur Dernière intervention   -
Bonjour,


Svp j'ai besoin d'aide pour trouver la formule Merci

Si J14= Non alors G7= 1 mais Si J14= Non alors G7=2
A voir également:

3 réponses

Mytå Messages postés 2973 Date d'inscription   Statut Contributeur Dernière intervention   953
 
Salut le Forum

Surement une erreur :
Si J14= Non alors G7= 1 mais Si J14= Non alors G7=2

Mytå
0
Gyrus Messages postés 3334 Date d'inscription   Statut Membre Dernière intervention   526
 
Bonjour,

Es-tu certain de ton énoncé ?

A+
0
Raymond PENTIER Messages postés 58990 Date d'inscription   Statut Contributeur Dernière intervention   17 355
 
La formule en G7 qui traduit exactement ta question est
=SI(OU(J14="Non";J14="Non");1;2)
et signifie : J14 contient toujours "Non" donc G7 affiche toujours 1 et jamais 2 !
---
Si l'énoncé avait été "Si J14= Non alors G7= 1 mais Si J14= Oui alors G7=2", alors la formule aurait été =SI(J14="Non";1;2) ou encore =SI(J14="Non";1;SI(J14="Oui");2;"")

C'est bien, la retraite ! Surtout aux Antilles ... :-)
Raymond (INSA, AFPA, CF/R)
0