Skip to main content

hi, asking for help,

I made a database of my office documents and i need a formula for due dates that is due on 16 months, however the due dates will correspond to two (2) date fields, ex. date A and date B, the condition is this; if date B is not empty, due date will correspond to date B + 16 months, but if date B is empty, due date will correspond to date A + 16 months.

I hope someone help me, thank you!

Try something like:

DATEADD(

IF(

{Date B},

{Date B},

{Date A}

),

16,

"months"

)

Link to base


Thank you so much! 🙂


Try something like:

DATEADD(

IF(

{Date B},

{Date B},

{Date A}

),

16,

"months"

)

Link to base


hi, follow - up question. How to leave the Due Date field blank if either of date A and Date B are empty?


hi, follow - up question. How to leave the Due Date field blank if either of date A and Date B are empty?


Ah hmm, try this?

IF(

OR(

{Date A},

{Date B}

),

DATEADD(

IF(

{Date B},

{Date B},

{Date A}

),

16,

"months"

)

)

Ah hmm, try this?

IF(

OR(

{Date A},

{Date B}

),

DATEADD(

IF(

{Date B},

{Date B},

{Date A}

),

16,

"months"

)

)

Thank you so much! 🙂


Reply