Skip to main content

Duration field and formula

  • April 14, 2021
  • 2 replies
  • 36 views

Hello,

I am trying to add a duration field in my base and I want the end date to be calculated based on the duration I am inputing. How can I do that?
Also, I would like to be able to change the duration whenever I need to and it so reflects the end date accordingly.

Thank you for your help!

Celine

2 replies

JonathanBowen
Forum|alt.badge.img+18

Hi @Celine_Derai - you can do this with two methods depending upon what you are trying to achieve. You can use DATEADD to add a number of days to a start date or use WORKDAY if you want to ignore weekends:

Formulas are:

DATEADD(Start, {Duration (days)}, 'days')

and

WORKDAY(Start, {Duration (days)})


  • Author
  • New Participant
  • April 28, 2021

Thank you so much @JonathanBowen This is exactly what I needed.