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

Fermé
mkd - 20 nov. 2014 à 21:28
Raymond PENTIER Messages postés 58483 Date d'inscription lundi 13 août 2007 Statut Contributeur Dernière intervention 5 juin 2024 - 21 nov. 2014 à 02:46
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 mardi 20 janvier 2009 Statut Contributeur Dernière intervention 20 décembre 2016 946
20 nov. 2014 à 21:44
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 samedi 20 juillet 2013 Statut Membre Dernière intervention 9 décembre 2016 523
20 nov. 2014 à 21:44
Bonjour,

Es-tu certain de ton énoncé ?

A+
0
Raymond PENTIER Messages postés 58483 Date d'inscription lundi 13 août 2007 Statut Contributeur Dernière intervention 5 juin 2024 17 128
Modifié par Raymond PENTIER le 21/11/2014 à 02:50
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