I have the code below - which is not working. I think I have too many If statements.
This formula is in V40.
I also need to add in one further condition.
=IF(!AT40=1,"P",IF(!I40="F","F",IF(OR(!I40="O","B"),"A",IF(!I40="P1","U",IF(!I40="P","A",IF(!I40="I","U",IF(!I40="S","U",IF(!I40="S1","U",IF(!I40="E","U",IF(OR(!I40="R1","R2"),"P",""))))))))))
What needs to happen is:
If AT40 = 1 then V40 = "P". This overrides everything else (can made the 1 a "P" if it helps)
If I40 = "F" then V40 = "F"
If I40 = "I" then V40 = "U"
If I40 = "O" or "B" then V40 = "A"
If I40 = "R1" or "R2" then V40 = "P"
If I40 = "S1" or "P1" AND J40 is greater than TODAY() then "A" otherwise "U"
IF I40 blank then V40 is blank.
DK
This formula is in V40.
I also need to add in one further condition.
=IF(!AT40=1,"P",IF(!I40="F","F",IF(OR(!I40="O","B"),"A",IF(!I40="P1","U",IF(!I40="P","A",IF(!I40="I","U",IF(!I40="S","U",IF(!I40="S1","U",IF(!I40="E","U",IF(OR(!I40="R1","R2"),"P",""))))))))))
What needs to happen is:
If AT40 = 1 then V40 = "P". This overrides everything else (can made the 1 a "P" if it helps)
If I40 = "F" then V40 = "F"
If I40 = "I" then V40 = "U"
If I40 = "O" or "B" then V40 = "A"
If I40 = "R1" or "R2" then V40 = "P"
If I40 = "S1" or "P1" AND J40 is greater than TODAY() then "A" otherwise "U"
IF I40 blank then V40 is blank.
DK