IF Statement Expression

Hello Everyone, 

 

It would be really appreciated if you can help me understand what am doing wrong;

The end result should be as follow:

If the Value of Column [Release Date] is Blank= "B703"

If the value of Column [Release Date] is not Blank and Column [Return Date] is Blank=[Destination]

If the Value of Column [Return Date] is not Blank and Column [Export Flight] is Blank=[Return Place]

If the value of Column[Export Flight] is not Blank=[Export Destination]

IFS(
ISBLANK([Release Date]), "B703" ,

AND(ISNOTBLANK([RELEASE DATE]), ISBLANK(RETURN DATE), [DESTINATION],
ISNOTBLANK([Export Flight]) ,[Export Destination] ,
AND(ISNOTBLANK([Return Place]), ISBLANK([Export Flight]), [Return Place])
)

 

Thank you all in advance

Solved Solved
0 2 64
1 ACCEPTED SOLUTION

 

The closing parenthesis for your AND()'s are not in the correct place.  Try this instead:

IFS(
ISBLANK([Release Date]), "B703" ,
AND(ISNOTBLANK([RELEASE DATE]), ISBLANK(RETURN DATE)), [DESTINATION],
ISNOTBLANK([Export Flight]), [Export Destination] ,
AND(ISNOTBLANK([Return Place]), ISBLANK([Export Flight])), [Return Place]
)

 

View solution in original post

2 REPLIES 2

 

The closing parenthesis for your AND()'s are not in the correct place.  Try this instead:

IFS(
ISBLANK([Release Date]), "B703" ,
AND(ISNOTBLANK([RELEASE DATE]), ISBLANK(RETURN DATE)), [DESTINATION],
ISNOTBLANK([Export Flight]), [Export Destination] ,
AND(ISNOTBLANK([Return Place]), ISBLANK([Export Flight])), [Return Place]
)

 

1655816986(1).pngThanks for the explanation and solution, working great

Top Labels in this Space