This part of the formula
=IF(MONTH(DATE(YEAR(NOW()),MONTH(NOW()),1))
gives me the MONTH of the date in brackets, i.e., MONTH 8;
However, if not
<>MONTH(DATE(YEAR(NOW()),MONTH(NOW()),1)-
(WEEKDAY(DATE(YEAR(NOW()),MONTH(NOW()),1))-1)+
{0;1;2;3;4;5}*7+{1,2,3,4,5,6,7}-1)
the month less the weekday of the dates in brackets (again), whose result is 7, then returns a blank, otherwise the formula gives the outcome of
DATE(YEAR(NOW()),MONTH(NOW()),1)-(WEEKDAY(DATE(YEAR(NOW()),MONTH(NOW()),1))-1)+0;1;2;3;4;5}*7+{1,2,3,4,5,6,7}-1
which is the first date of the current month less the three days from the previous month that went into the first week of the current month.
Is that the correct reading so far (or rather a way to look at it?)
Now, what about those overlapping days at the end of the month? How did they get taken out in the end?
Could you also explain to me please what is the -1 at the end of the matrix formula below
+{0;1;2;3;4;5}*7+{1,2,3,4,5,6,7} -1
Thanks.
Bookmarks