EWOMONTH article. I don't understand how the examples I've selected are correct

The last weekday in January is a Monday. And Monday plus 3 is Thursday. Am I missing something entirely?

3X_f_d_fd5749acb53356b545187930d9a703bddac9c138.png

Solved Solved
1 4 105
1 ACCEPTED SOLUTION

Fixed. Thanks for the heads-up, everyone!

View solution in original post

4 REPLIES 4

Aurelien
Google Developer Expert
Google Developer Expert

@Steve

@Ratatosk For the first one, I would try (not tested):

WORKDAY(
   EWOMONTH(TODAY()),0)
   ,1
)

==> first Workday of next month

EDIT: my expression here is for Workday, not Weekday.
Though I donโ€™t get the real difference.

@Ratatosk I think your question is because of this part.
From friday to next monday ==> +3

EWOMONTH(TODAY(), 0) + 3 : First weekday of next month.

But if Monday 31 is the last day of the month and first weekday of next month is + 3 days thenโ€ฆ or does the 3 stand for anything else than days?

I think youโ€™re correct, those examples are wrong.

Fixed. Thanks for the heads-up, everyone!

Top Labels in this Space