Skip to main content

Set automatic Date excluding Weekends

  • July 20, 2023
  • 2 replies
  • 115 views

Forum|alt.badge.img+5

Heya,

just a Formula newb here 🙂 Im Trying to set automaticly the Date 3 day before. When i set a Date manualy in a Field, another one should display a date 3 days before excluding weekends.

I just only managed 3 days before but weekends are still included.

Here my formula (Datefield is my manual selected field)

Formula:  DATEADD(DATEFIELD, -3, "day")     
 
Thanks for any advice!

2 replies

Forum|alt.badge.img+21
  • Inspiring
  • July 21, 2023

There is a function called WORKDAY().
This can be used to calculate operating days with Saturdays, Sundays, and optionally specified dates as vacations.

 

WORKDAY(DATEFIELD, -3, '2024/1/1')

Formula Field Reference - Overview | Airtable Support

 


Forum|alt.badge.img+5
  • Author
  • New Participant
  • July 24, 2023

There is a function called WORKDAY().
This can be used to calculate operating days with Saturdays, Sundays, and optionally specified dates as vacations.

 

WORKDAY(DATEFIELD, -3, '2024/1/1')

Formula Field Reference - Overview | Airtable Support

 


Thank you verry much Sho!