I'd like to email my app users on the first, fifth, and ninth business days of the month. Looking in the documentation I found the WORKDAY function, but I'm having trouble creating this logic. Does anyone have any tips or know a way to build this logic?
Thanks!!!
Solved! Go to Solution.
I'm not experienced using the WORKDAY() function, but I looked it up and think the following should provide what you need.
First business day:
WORKDAY(
DATE(
CONCATENATE(MONTH(TODAY()), "/1/", YEAR(TODAY()))
),
0)
Fifth business day:
WORKDAY(
DATE(
CONCATENATE(MONTH(TODAY()), "/1/", YEAR(TODAY()))
),
4)
Ninth business day:
WORKDAY(
DATE(
CONCATENATE(MONTH(TODAY()), "/1/", YEAR(TODAY()))
),
8 )
I'm not experienced using the WORKDAY() function, but I looked it up and think the following should provide what you need.
First business day:
WORKDAY(
DATE(
CONCATENATE(MONTH(TODAY()), "/1/", YEAR(TODAY()))
),
0)
Fifth business day:
WORKDAY(
DATE(
CONCATENATE(MONTH(TODAY()), "/1/", YEAR(TODAY()))
),
4)
Ninth business day:
WORKDAY(
DATE(
CONCATENATE(MONTH(TODAY()), "/1/", YEAR(TODAY()))
),
8 )
This:
(EOMONTH(TODAY(), -1) + 1)
is equivalent to:
DATE(
CONCATENATE(MONTH(TODAY()), "/1/", YEAR(TODAY()))
)
Thank you!!!
User | Count |
---|---|
40 | |
36 | |
34 | |
23 | |
17 |