try:
in day's left:
in day's gone:![]()
=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(TODAY()&":"&EOMONTH(TODAY(),0))))={2,3,4,5,6,7}))
"EOMONTH(TODAY(),-1)+1" translates to "last day of last month + 1" and gives you the first day of the current month.![]()
=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(EOMONTH(TODAY(),-1)+1&":"&TODAY()-1)))={2,3,4,5,6,7}))
above formula is @jasonb's; i have just modified it to fit OP's needs.
Bookmarks