I have a column [ESTATUS] within APP FORMULA the following expression for calculating due date [Fecha vencimiento] resulting in the following statuses VIGENTE, PROXIMO A VENCER etc…
if(
([FECHA VENCIMIENTO] > (today() + 14)),
“VIGENTE”,
if(
([FECHA VENCIMIENTO] > (today() + 7)),
“PROXIMO A VENCER”,
IF(
((today() - 0) < [FECHA VENCIMIENTO]),
“ES NECESARIO RENOVAR!”,
if(
([FECHA VENCIMIENTO] = today()),
“ULTIMO DIA”,
if(
([FECHA VENCIMIENTO] < (today() - 30)),
“HISTORICO”,
if(
([FECHA VENCIMIENTO] < today()),
“VENCIDO”,
“ULTIMOS DIAS”
)
)
)
)
)
)
This expression works perfectly, but I want to add to this expression a condition
If in the column [Estado de renvacion] equals “YES” then let it be “RENOVADO”
I have tried several times but without success, thank you for your help.