Skip to main content
Solved

How to Auto-populate Dates based on +/- Number of Days

  • December 30, 2021
  • 4 replies
  • 47 views

Forum|alt.badge.img

Hi! I am creating a task list template that has certain tasks that need to be completed 20 days prior to event, 14 days prior to event, 12 days prior to event, 2 days after the event, 7 days after the event, and so on. I’d love to be able to pop in the Event Date and it autopopulate real calendared DUE Dates based on those parameters so that I can use it over and over for each new event without manually typing in each due date for every single task, but am struggling to figure this out. Can someone please assist me? I am new to airtable and watching lots of tutorials!

Best answer by Kamille_Parks11

You want to create 5 formula fields using the DATEADD() function.

DATEADD({Event Date}, -20, "days")

4 replies

Kamille_Parks11
Forum|alt.badge.img+27

You want to create 5 formula fields using the DATEADD() function.

DATEADD({Event Date}, -20, "days")

  • New Participant
  • December 31, 2021

You want to create 5 formula fields using the DATEADD() function.

DATEADD({Event Date}, -20, "days")

@Kamille_Parks What if we need that end result date to be in working days?


Kamille_Parks11
Forum|alt.badge.img+27

@Kamille_Parks What if we need that end result date to be in working days?


Then use WORKDAY(). I would recommend familiarizing yourself with Airtable’s formula functions:


  • New Participant
  • January 1, 2022

Then use WORKDAY(). I would recommend familiarizing yourself with Airtable’s formula functions:


Thank you. I wasn’t sure if the WORKDAY() formula would be used instead of DATEADD() or in addition to, but I’ll try to work through this myself.