Skip to main content
Solved

Return if dates is a holiday


Forum|alt.badge.img+2

I'm trying to return a value if the date matches any of a string of dates. I'm trying to make sure dates don't land on company holidays. Thanks!

Best answer by Alexey_Gusev

Hi,
You can try WORKDAY_DIFF({Date},{Date},"list of dates")=0
Weekend will be also included, but I guess it doesn't contradict your goal

 

 
View original
This topic has been closed for replies.

2 replies

Alexey_Gusev
Forum|alt.badge.img+25

Hi,
You can try WORKDAY_DIFF({Date},{Date},"list of dates")=0
Weekend will be also included, but I guess it doesn't contradict your goal

 

 

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

Using Workday_diff is a good idea!
If you don't need to add any particular holidays, you can use this formula as well.

 

IF(WEEKDAY({Date},"Monday")>4,"holiday")