Mar 22 2020 11:45 AM
Greetings all - I have this formula below where i'm trying to write it to say:
If a column shows "pendiente"(pending), OR "No Asignado" (Not assigned), it returns "Not Complete", else Complete. If all the columns show pendiente/No asignado then it returns "Not complete", excellent! However, if it's outside of that criteria it should return "Complete", but it returns a FALSE error and i can't figure out why.
What am I missing?
=(IF(AND(S2="Pendiente",T2="Pendiente",U2="Pendiente",V2="Pendiente",W2="Pendiente",X2="Pendiente",Y2="Pendiente",Z2="Pendiente",AA2="Pendiente",AB2="Pendiente",AC2="Pendiente",AD2="Pendiente",AE2="Pendiente",AF2="Pendiente",AG2="Pendiente",AH2="Pendiente"),IF(OR(AI2="Pendiente",AI2="No Asignado"),IF(OR(AC2="Pendiente",AI2="No Asignado"),"Not Complete","Complete"))))
Mar 22 2020 11:53 AM
Hello, this formula is quite a complicated and long one. I suggest you simplicity your formula to achieve what you want.
Mar 22 2020 12:07 PM
Logic of calculation is defined only partially. If transform the formula
=IF(
AND(
S2="Pendiente",
T2="Pendiente",
U2="Pendiente",
V2="Pendiente",
W2="Pendiente",
X2="Pendiente",
Y2="Pendiente",
Z2="Pendiente",
AA2="Pendiente",
AB2="Pendiente",
AC2="Pendiente",
AD2="Pendiente",
AE2="Pendiente",
AF2="Pendiente",
AG2="Pendiente",
AH2="Pendiente"
),
IF(
OR(AI2="Pendiente",AI2="No Asignado"),
IF(
OR(AC2="Pendiente",AI2="No Asignado"),
"Not Complete",
"Complete"
)
)
)
you see that full logic
if condition then option1 else option2
is defined only for very inner IF. For others that's only first option defined, by default it'll be returned FALSE as second option
if condition then option1 else FALSE
In general formula could be simplified (e.g. COUNTIF instead of forst AND, etc), but that's not critical, first the logic is to be defined correctly.
Mar 22 2020 01:09 PM
Mar 23 2020 02:00 AM
From formula point of view that could be like
=IF(COUNTIF($S2:$AH2,"Pendiente")=16,
IF(OR(AI2="Pendiente",AI2="No Asignado"),
IF(OR(AC2="Pendiente",AI2="No Asignado"),
"Not Complete",
"Complete"
),
"Not Complete"
),
"Not Complete"
)
but I don't know what is the actual logic shall be.