Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Tri décroissant en matricielle

2 réponses
Avatar
j-pascal
Bonsoir,

La formule matricielle suivante me détecte l'état de tri de la colonne
H.

Dans le cas présent, elle renvoit "Trié" si le tri est croissant.

{=SI(ET(DECALER(H36;0;0;EQUIV("*";H36:H157;-1)-1)<=DECALER(H36;1;0;EQUIV("*";H36:H157;-1)-1))=VRAI;"Trié")}

Comment dois-je ajuster la formule pour qu'elle me renvoit "Trié" si le
tri est décroissant ?

Merci pour votre aide,

JP

2 réponses

Avatar
Philippe.R
Bonjour,
As tu essayé ceci ?

{=SI(ET(DECALER(H36;0;0;EQUIV("*";H36:H157;-1)-1)>ÞCALER(H36;1;0;EQUIV("*";H36:H157;-1)-1))=VRAI;"Trié")}

--
Avec plaisir
http://dj.joss.free.fr/trombine.htm
http://jacxl.free.fr/mpfe/trombino.html
Philippe.R
Pour se connecter au forum :
http://www.excelabo.net/mpfe/connexion.php
News://news.microsoft.com/microsoft.public.fr.excel
"j-pascal" a écrit dans le message de
news:
Bonsoir,

La formule matricielle suivante me détecte l'état de tri de la colonne H.

Dans le cas présent, elle renvoit "Trié" si le tri est croissant.

{=SI(ET(DECALER(H36;0;0;EQUIV("*";H36:H157;-1)-1)<ÞCALER(H36;1;0;EQUIV("*";H36:H157;-1)-1))=VRAI;"Trié")}

Comment dois-je ajuster la formule pour qu'elle me renvoit "Trié" si le
tri est décroissant ?

Merci pour votre aide,

JP




Avatar
j-pascal
Bonjour Philippe,

Super ! Merci (et bonne Année !)

Cette formule est très intéressante, mais elle est un peu mystérieuse
pour moi ...

JP

Bonjour,
As tu essayé ceci ?

{=SI(ET(DECALER(H36;0;0;EQUIV("*";H36:H157;-1)-1)>ÞCALER(H36;1;0;EQUIV("*";H36:H157;-1)-1))=VRAI;"Trié")}

--
Avec plaisir
http://dj.joss.free.fr/trombine.htm
http://jacxl.free.fr/mpfe/trombino.html
Philippe.R
Pour se connecter au forum :
http://www.excelabo.net/mpfe/connexion.php
News://news.microsoft.com/microsoft.public.fr.excel
"j-pascal" a écrit dans le message de
news:
Bonsoir,

La formule matricielle suivante me détecte l'état de tri de la colonne H.

Dans le cas présent, elle renvoit "Trié" si le tri est croissant.

{=SI(ET(DECALER(H36;0;0;EQUIV("*";H36:H157;-1)-1)<ÞCALER(H36;1;0;EQUIV("*";H36:H157;-1)-1))=VRAI;"Trié")}

Comment dois-je ajuster la formule pour qu'elle me renvoit "Trié" si le tri
est décroissant ?

Merci pour votre aide,

JP