IIF Statement

M

mmazenge

Please help me with syntax of this nested IIf Statement. I am trying to
track Internal Requisitions Status and report on it at any given time
as the requisition goes through various stages, i.e. raised, approved,
ordered and finally delivered, and can also be cancelled. The values of
these status are derived from a date and my syntax is as follows:

=IIf(IsDate([Fo_Date])=Yes, "Delivered", iif(IsDate([T_Date])=Yes,
"Ordered', iif(IsDate([S_Date])=Yes, "Approved","Waiting Approval")))

Thanks in advance

Regards

Memory.
 
B

Bob Miller

Take out the =Yes after each IsDate()
Please help me with syntax of this nested IIf Statement. I am trying to
track Internal Requisitions Status and report on it at any given time
as the requisition goes through various stages, i.e. raised, approved,
ordered and finally delivered, and can also be cancelled. The value
of
these status are derived from a date and my syntax is as follows:

=IIf(IsDate([Fo_Date])=Yes, "Delivered", iif(IsDate([T_Date])=Yes,
"Ordered', iif(IsDate([S_Date])=Yes, "Approved","Waiting Approval")))

Thanks in advance

Regards

Memory
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top