Pdeters
asked on
Business Objects report - If then statement
I am creating a Business Objects report and in one of the field I have this
=If([MgrApproved]="N" And [ApprovalRequired] = "Y";"Pending";"Approved")
This gives me either Penidng or approved.
What I want is a third option that if if the first optin is N and the second option is N that I get the answer of "Declined"
How would the If then statement go in Business Objects Report
=If([MgrApproved]="N" And [ApprovalRequired] = "Y";"Pending";"Approved")
This gives me either Penidng or approved.
What I want is a third option that if if the first optin is N and the second option is N that I get the answer of "Declined"
How would the If then statement go in Business Objects Report
ASKER
Can I have more than 1 If statement
ASKER
This is the syntax I am currently using
=If([MgrApproved]="N" And [ApprovalRequired] = "Y";"Pending";"Approved")
This gives me either Penidng or approved.
What I want is 3 scenarios
if YY then Approved
IF NY Pending
if NN declined
=If([MgrApproved]="N" And [ApprovalRequired] = "Y";"Pending";"Approved")
This gives me either Penidng or approved.
What I want is 3 scenarios
if YY then Approved
IF NY Pending
if NN declined
ASKER
I would I get three different options/ scenarios
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What happened to declined?
You also changed the fields being used.
My syntax probably showed you how to get the correct result
mlmcc
You also changed the fields being used.
My syntax probably showed you how to get the correct result
mlmcc
ASKER
that is what worked
=If([MgrApproved]="N" ; if([ApprovalRequired] = "Y";"Pending";"Declined");
mlmcc