Bonjour,
Comme vous pouvez le voir ci-dessous je cherche à faire une formule pour que de 5h00 à 13h00 ça affiche matin de 13h01 à 21h ça affiche après midi et de 21h01 à 5h00 ça affiche nuit.
En BE1 j'ai la fonction =MAINTENANT() pour avoir l'heure.
=SI.CONDITIONS(BE1 < "5:00:00"; "Nuit"; BE1 > "21:00:00";"Nuit";BE1<"13:00:00"; "Matin";BE1>"13:00:00"; "Après-Midi")
IL est 11h30 et il est affichée nuit et je ne comprends pas pourquoi...
Quelqu'un aurait une solution ?
Merci d'avance !