You can use a SWITCH()
statement here:
SWITCH(
{Day of year},
1, "Bank Holiday",
37, "Bank Holiday",
etc...
359, "Bank Holiday"
)
What this says is,
“Look at the value of the {Day of year}
field, and if its value is 1
, return "Bank Holiday"
, if its value is 37
, return "Bank Holiday"
, etc… and if its value doesn’t match any of the options listed, do nothing.”
You may also want to check out this excellent work by @W_Vann_Hall, as it may prove useful to you:
U.S. Holidays for WORKDAY() and WORKDAY_DIFF()