Le 09/05/11 11:28, l'honorable DEPREZ Christophe PREF35 SSIT nous a écrit :
ok merci

-------- Message original --------
Sujet : [fr-users] Re: Calc - formule
De : Laurent Godard <[email protected]>
Pour : [email protected]
Date : 09/05/2011 11:25
Bonjour

Je cherche à afficher en A2 la valeur "matin" si A1 est inférieur à
12:00:00 sinon "après-midi"

La formule suivante SI(A1<12:00:00;"matin";"après-midi") renvoie Err :509


essaye ceci
=SI(A1<0,5;"matin";"apres-midi")

si A1 formaté au format HH:MM:SS
(sinon, essaye de jongler avec CTXT et CNUM)

Laurent


Bonjour,

une autre approche
=SI(A1<TEMPSVAL("12:00:00");"matin";"après-midi")

C_Lucien
--
------------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected] with Subject: help

Répondre à