IF STATEMENT

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm attempting to write a formula stating that if a loan is a refinance, add
3 business days to the close date, if not, use the close date. Can someone
help me?
 
Dear Lori:

Please refer to the functions IIf() and DateAdd() in the online help. This
will work together to do what you want.

Tom Ellison
 
I'm attempting to write a formula stating that if a loan is a refinance, add
3 business days to the close date, if not, use the close date. Can someone
help me?

The Access function is IIF: in a calculated field you can type

NewDateField: DateAdd("d", IIF([LoanType] = "Refinance", 3, 0), [Close
Date])

using of course your own fieldnames and the correct logic to identify
which loans are refinances.

John W. Vinson[MVP]
 

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

Back
Top