Me alegro de haber ayudado. Para el número de filas continuas que configuran el indicador que iba de su descripción original "Quiero establecer el valor de col (x) en 1 cuando la fila actual más las siguientes 5 filas para nieve contengan datos de nieve (> 0)".
Por requisito estricto n = 5 solo cambio
style = "WORD-SPACING: 0px; FONT: 16px / 20px 'Times New Roman'; TEXT-TRANSFORME: ninguno; COLOR: rgb (0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; CARTA -PASE: normal; BORDER-COLLAPSE: separado; TEXT-ALIGN: izquierda; huérfanos: 2; viudas: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decoraciones en efecto: ninguno; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px ">
class = Apple-style-span
style = "TAMAÑO DE FUENTE: 13px; LINE-HEIGHT: 16px; FONT-FAMILY: arial, helvetica, sans-serif">
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
clase = espacio convertido de Apple>
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: rgb (0,0,221); FONT-FAMILY: 'Courier New'"> If
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> (
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: rgb (0,0,221); FONT-FAMILY: 'Courier New'"> Max
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> (
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
clase = espacio convertido de Apple> s
clase = espacio convertido de Apple> )
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'" >>
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: negro; FUENTE-FAMILIA: 'Courier New'"> n
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 1
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 0
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
clase = espacio convertido de Apple> )
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'">;
dentro
style = "WORD-SPACING: 0px; FONT: 16px / 20px 'Times New Roman'; TEXT-TRANSFORME: ninguno; COLOR: rgb (0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; CARTA -PASE: normal; BORDER-COLLAPSE: separado; TEXT-ALIGN: izquierda; huérfanos: 2; viudas: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decoraciones en efecto: ninguno; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px ">
class = Apple-style-span
style = "TAMAÑO DE FUENTE: 13px; LINE-HEIGHT: 16px; FONT-FAMILY: arial, helvetica, sans-serif">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'">
class = Apple-style-span
style = "WORD-SPACING: 0px; FONT: 16px / 20px 'Times New Roman'; TEXT-TRANSFORME: ninguno; COLOR: rgb (0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; CARTA -PASE: normal; BORDER-COLLAPSE: separado; TEXT-ALIGN: izquierda; huérfanos: 2; viudas: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decoraciones en efecto: ninguno; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px ">
class = Apple-style-span
style = "TAMAÑO DE FUENTE: 13px; LINE-HEIGHT: 16px; FONT-FAMILY: arial, helvetica, sans-serif">
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
clase = espacio convertido de Apple>
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: rgb (0,0,221); FONT-FAMILY: 'Courier New'"> If
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> (
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: rgb (0,0,221); FONT-FAMILY: 'Courier New'"> Max
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> (
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
clase = espacio convertido de Apple> s
clase = espacio convertido de Apple> )
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'">
color = rojo> > =
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: negro; FUENTE-FAMILIA: 'Courier New'"> n
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 1
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 0
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
clase = espacio convertido de Apple> )
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'">;
Para mantener el código más legible.Trate de seguir la fórmula. El "n = 5" define que establecerá la bandera en 1 para todos los eventos cuando> 5 filas seguidas tengan datos de nieve> 0. Espero que esto ayude.
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'"> Local
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> (
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
{ yo
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
norte
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> =
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 5
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> s
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> =
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'"> J
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> (
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 2
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> *
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: negro; FUENTE-FAMILIA: 'Courier New'"> n
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> +
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 2
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 1
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 0
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
)}
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "mso-tab-count: 1">
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'"> For
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> (
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> i
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> =
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> -
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: negro; FUENTE-FAMILIA: 'Courier New'"> n
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> i
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> <=
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
norte
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
yo
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'"> ++,
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "mso-tab-count: 2">
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'"> If
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> (
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'">:
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> Snow El
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'"> Fila
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: negro; FUENTE-FAMILIA: 'Courier New'"> ()
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> +
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
yo
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'"> Vacío
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> ()]
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'" >>
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 0
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "mso-tab-count: 3">
s El yo
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> +
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
norte
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> +
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 2
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 1
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">]
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> =
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> s [( yo
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> +
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
norte
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> +
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 2
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: negro; FUENTE-FAMILIA: 'Courier New'">)
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> -
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 1
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 1
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">]
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'"> +
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 1
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "mso-tab-count: 2">
)
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "mso-tab-count: 1">
)
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'">;
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "mso-tab-count: 1">
style = "FONT-SIZE: 10pt; COLOR: # 0000dd; FONT-FAMILY: 'Courier New'"> If
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> (
style = "TAMAÑO DE FUENTE: 10 ptos; COLOR: # 0000dd; FAMILIA DE FUENTE: 'Courier New'"> Max
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> (
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'"> s
)
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'" >>
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: negro; FUENTE-FAMILIA: 'Courier New'"> n
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 1
style = "FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">,
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: verde azulado; FONT-FAMILY: 'Courier New'"> 0
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
)
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: navy; FONT-FAMILY: 'Courier New'">;
style = "TAMAÑO DE LA FUENTE: 10 puntos; COLOR: negro; FONT-FAMILY: 'Courier New'">
style = "TAMAÑO DE FUENTE: 10 puntos; COLOR: negro; FUENTE-FAMILIA: 'Courier New'">)