We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

How to add 15 days to a date and need to exclude weekends and holidays in the ouput

Anjankumar2021
8 - Asteroid

Hi Team / @binuacs ,

 

could someone assist on the below?

 

Input:

 

Date
01/01/2025
03/03/2025

 

Holiday list
15/01/2025
10/03/2025
10/10/2025

 

OUtput:

 

excluded weekends and holidays after adding 15 days to date and take next possible weekday

 

DateOutput
01/01/202517/01/2025
03/03/202519/01/2025
3 REPLIES 3
binuacs
21 - Polaris

@Anjankumar2021 would you mind explaining the calculation of the output 17/01/2025

Anjankumar2021
8 - Asteroid

 

DateNo of daysafter adding Holiday listOutput
01/01/20251516/01/202515/01/202517/01/2025

 

after adding 15days the date should be 16/01/2025 but 15/01/2025 was holiday and no weekend came( Saturday and Sunday). excluded holiday and  took next possible business day 17/01/2025

binuacs
21 - Polaris

@Anjankumar2021 try the attached workflow

image.png

Labels
Top Solution Authors