 SOLVED

# help

I need help putting the formula for the table below.

 TargetStart Date Actual Completion Result Status Not started 12-Jun-22 In Progress 12-Jun-22 15-Jun-22 Fail Retest 12-Jun-22 17-Jun-22 Pass Completed

Target Start Date<Blank> ,Actual Completion <Blank> = Not Started

Target Start Date<Blank> ,Actual Completion <Blank>, Result <Blank> = In Progress

Target Start Date<Blank> ,Actual Completion <Blank>, Result <Pass> Completed

Target Start Date<Blank> ,Actual Completion <Blank>, Result <Fail> Retest

5 Replies
best response confirmed by AMZI2001 (New Contributor)
Solution

# Re: help

``=IF(AND(A3="",B3="",C3=""),"Not started",IF(AND(A3<>"",B3="",C3=""),"In progress",IF(AND(A3<>"",B3<>"",C3="Fail"),"Retest",IF(AND(A3<>"",B3<>"",C3="Pass"),"Completed",""))))``

Maybe with this formula. # Re: help

@AMZI2001

A little more modern:

``=IFS(AND(C3="Pass",B3>0,A3>0),"Completed",AND(C3="Fail",B3>0,A3>0),"Retest",AND(ISBLANK(C3),ISBLANK(B3),A3>0),"In Progress",AND(ISBLANK(C3),ISBLANK(B3),ISBLANK(A3)),"Not started",1,"")``

# Re: help

Thank you!

I hv tried and its works.

help me to validate if this is correct.

=IF(AND(A3="",B3="",C3=""),"Not started",IF(AND(A3<>"",B3="",C3=""),"In progress",IF(AND(A3<>"",B3<>"",C3="Pass",E3=""),"Completed",IF(AND(A3<>"",B3<>"",C3="Fail",E3=""),"Retest",IF(AND(A3<>"",B3<>"",C3="Fail",E3="Fail"),"Retest",IF(AND(A3<>"",B3<>"",C3="Fail",E3="Pass"),"Completed",""))))))

Thank you

# Re: help

Hi

Thank You.

I'll try this formula also. Let u know soon!

# Re: help

``=IF(AND(A3="",B3="",C3=""),"Not started",IF(AND(A3<>"",B3="",C3=""),"In progress",IF(AND(A3<>"",B3<>"",C3="Pass",E3=""),"Completed",IF(AND(A3<>"",B3<>"",C3="Fail",E3=""),"Retest",IF(AND(A3<>"",B3<>"",C3="Fail",E3="Fail"),"Retest",IF(AND(A3<>"",B3<>"",C3="Fail",E3="Pass"),"Completed",""))))))``

You are welcome. Your formula works in my sheet. 