can anyone please help me in cracking the logic in below if statement, that i am trying to solve.
Below is the logic i am trying
- three columns Item status, Treasury status and MD status
- if Treasury status and MD status are blank, item status should say Pending
- if Treasury status say approved, then Item status should change to Approved by treasury
- if treasury status say rejected, then item status should change to requester need resubmission
- If MD status say Approved, then item status should change to completed.
- If MD status say rejected, then item status should change to requester need resubmission
Below is the formulae i got
=IF(NOT([MD Status]=""),"COMPLETED",IF([Treasury Status]="APPROVED","APPROVED BY TREASURY",IF([Treasury Status]="REJECTED","REQUESTER NEED RESUBMISSION",IF([MD Status]="REJECTED","REQUESTER NEED RESUBMISSION","PENDING"))))
All logics are working, but when MD status id changed to REJECTED, Item status not changing to Request need resubmission. It is changing to complted.
Please help. Raj.