Content que cela ait aidé. Pour le nombre de lignes continues définissant le drapeau de la description originale, je me dirigeais "Je souhaite définir la valeur de col (x) sur 1 lorsque la ligne en cours plus les cinq lignes suivantes pour la neige contiennent des données de neige (> 0)."
Pour l'exigence stricte n = 5 il suffit de changer
style = "WORD-SPACING: 0px; FONT: 16px / 20px 'Times New Roman'; TEXT-TRANSFORM: aucun; COLOR: rgb (0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER -SPACING: normal; BORDER-COLLAPSE: séparé; TEXT-ALIGN: à gauche; orphelins: 2; veuves: 2; webkit-border-horizontal-espacement: 0px; webkit-border-vertical-espacement: 0px; webkit-texte-décorations -in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px ">
classe = Apple-style-span
style = "FONT-SIZE: 13px; LINE-HEIGHT: 16px; FONT-FAMILY: arial, helvetica, sans-serif">
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
classe = espace converti par Apple>
style = "FONT-SIZE: 10pt; COULEUR: rgb (0,0,221); FONT-FAMILY: 'Courier New'"> Si
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: rgb (0,0,221); FONT-FAMILY: 'Courier New'"> Max
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
classe = espace converti par Apple> s
classe = espace converti par Apple> )
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'" >>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'"> n
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: bleu sarcelle; FONT-FAMILY: 'Courier New'"> 1
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: turquoise; FONT-FAMILY: 'Courier New'"> 0
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
classe = espace converti par Apple> )
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">>
dans
style = "WORD-SPACING: 0px; FONT: 16px / 20px 'Times New Roman'; TEXT-TRANSFORM: aucun; COLOR: rgb (0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER -SPACING: normal; BORDER-COLLAPSE: séparé; TEXT-ALIGN: à gauche; orphelins: 2; veuves: 2; webkit-border-horizontal-espacement: 0px; webkit-border-vertical-espacement: 0px; webkit-texte-décorations -in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px ">
classe = Apple-style-span
style = "FONT-SIZE: 13px; LINE-HEIGHT: 16px; FONT-FAMILY: arial, helvetica, sans-serif">
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">
classe = Apple-style-span
style = "WORD-SPACING: 0px; FONT: 16px / 20px 'Times New Roman'; TEXT-TRANSFORM: aucun; COLOR: rgb (0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER -SPACING: normal; BORDER-COLLAPSE: séparé; TEXT-ALIGN: à gauche; orphelins: 2; veuves: 2; webkit-border-horizontal-espacement: 0px; webkit-border-vertical-espacement: 0px; webkit-texte-décorations -in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px ">
classe = Apple-style-span
style = "FONT-SIZE: 13px; LINE-HEIGHT: 16px; FONT-FAMILY: arial, helvetica, sans-serif">
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
classe = espace converti par Apple>
style = "FONT-SIZE: 10pt; COULEUR: rgb (0,0,221); FONT-FAMILY: 'Courier New'"> Si
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: rgb (0,0,221); FONT-FAMILY: 'Courier New'"> Max
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
classe = espace converti par Apple> s
classe = espace converti par Apple> )
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">
couleur = rouge> > =
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'"> n
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: bleu sarcelle; FONT-FAMILY: 'Courier New'"> 1
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: turquoise; FONT-FAMILY: 'Courier New'"> 0
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
classe = espace converti par Apple> )
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">>
pour que le code soit plus lisible.Essayez la formule suivante. Le "n = 5" définit qu'il définira l'indicateur sur 1 pour tous les événements lorsque> 5 rangées consécutives ont des données de neige> 0. J'espère que cela t'aides.
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'">> Local
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
{ je
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
n
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: turquoise; FONT-FAMILY: 'Courier New'"> 5
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'"> s
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'"> J
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: turquoise; FONT-FAMILY: 'Courier New'"> 2
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'"> *
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'"> n
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'"> +
style = "FONT-SIZE: 10pt; COULEUR: turquoise; FONT-FAMILY: 'Courier New'"> 2
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: bleu sarcelle; FONT-FAMILY: 'Courier New'"> 1
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: turquoise; FONT-FAMILY: 'Courier New'"> 0
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
)}
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "mso-tab-count: 1">
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'"> Pour
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'"> i
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'"> -
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'"> n
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'"> i
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">> = =
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
n
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
je
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'"> ++,
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "mso-tab-count: 2">
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'"> Si
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">> Neige [
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'"> Rangée
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'"> ()
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'"> +
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
je
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'">> Vide
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'"> ()]
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'" >>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: turquoise; FONT-FAMILY: 'Courier New'"> 0
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "mso-tab-count: 3">
s [ je
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'"> +
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
n
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'"> +
style = "FONT-SIZE: 10pt; COULEUR: turquoise; FONT-FAMILY: 'Courier New'"> 2
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: bleu sarcelle; FONT-FAMILY: 'Courier New'"> 1
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">]
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'"> s [( je
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'"> +
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
n
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'"> +
style = "FONT-SIZE: 10pt; COULEUR: turquoise; FONT-FAMILY: 'Courier New'"> 2
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">)
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'"> -
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: bleu sarcelle; FONT-FAMILY: 'Courier New'"> 1
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: bleu sarcelle; FONT-FAMILY: 'Courier New'"> 1
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">]
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'"> +
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: bleu sarcelle; FONT-FAMILY: 'Courier New'"> 1
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "mso-tab-count: 2">
)
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "mso-tab-count: 1">
)
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "mso-tab-count: 1">
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'"> Si
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'" "> Max
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'"> s
)
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'" >>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'"> n
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: bleu sarcelle; FONT-FAMILY: 'Courier New'"> 1
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">,
style = "FONT-SIZE: 10pt; COULEUR: turquoise; FONT-FAMILY: 'Courier New'"> 0
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
)
style = "FONT-SIZE: 10pt; COULEUR: marine; FONT-FAMILY: 'Courier New'">>
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COULEUR: noir; FONT-FAMILY: 'Courier New'">)