itsgrady
Board Regular
- Joined
- Sep 11, 2022
- Messages
- 132
- Office Version
- 2021
- Platform
- Windows
- MacOS
Need help.
In C5 I have a date (10/1/24)
Need to list weekdays of October only. In column B, starting in B8, I would like to list all weekdays (Monday - Friday) of the month in C5. I need the formula to stop after the month given in C5 (don’t list or show November).
If the month starts on a Saturday or Sunday don’t list that date. Just start with the first weekday.
I tried working on a formula (see below) but it gives all dates for the month and I can’t figure it out. Thanks for any help.
=IF(WEEKDAY(DATE(YEAR($C$5),MONTH($C$5),1))=1, DATE(YEAR($C$5),MONTH($C$5),2), DATE(YEAR($C$5),MONTH($C$5),1)) + ROW(A1) - 1
In C5 I have a date (10/1/24)
Need to list weekdays of October only. In column B, starting in B8, I would like to list all weekdays (Monday - Friday) of the month in C5. I need the formula to stop after the month given in C5 (don’t list or show November).
If the month starts on a Saturday or Sunday don’t list that date. Just start with the first weekday.
I tried working on a formula (see below) but it gives all dates for the month and I can’t figure it out. Thanks for any help.
=IF(WEEKDAY(DATE(YEAR($C$5),MONTH($C$5),1))=1, DATE(YEAR($C$5),MONTH($C$5),2), DATE(YEAR($C$5),MONTH($C$5),1)) + ROW(A1) - 1