Help

Set automatic Date excluding Weekends

Topic Labels: Automations
592 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Goran
4 - Data Explorer
4 - Data Explorer

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 2
Sho
11 - Venus
11 - Venus

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!