Hi,
I need to show a dynamic list of dates in the current month, but excluding weekends e.g.
1/4/10
2/4/10
5/4/10
6/4/10
7/4/10
8/4/10
9/4/10
12/4/10
I am able to get a full list of dates as shown below, and I can also identify which dates are weekends, however I need a continuous list excluding weekends.
Current setup is as below:
A1:A31 = Numbers 1-31 (although this will only need to be 22ish when weekends are exluded)
B1:B31 = =IF(MONTH(TODAY()-DAY(TODAY())+A1)<>MONTH(TODAY()),"#N/A",TODAY()-DAY(TODAY())+A1). This is to show the list of all dates in the month, and if the 31st day is actually the first of the previous month
C1:C31 = =IF(IF(OR(WEEKDAY(TODAY()-DAY(TODAY())+A1)=1,WEEKDAY(TODAY()-DAY(TODAY())+A1)=7),"WEEKEND",TODAY()-DAY(TODAY())+A1)="WEEKEND",C3,IF(OR(WEEKDAY(TODAY()-DAY(TODAY())+A1)=1,WEEKDAY(TODAY()-DAY(TODAY())+A1)=7),"WEEKEND",TODAY()-DAY(TODAY())+A1)). This currently tells me the day (Thu, Fri etc) of the date, and if the day is Sat or Sun it shows "weekend".
I dont need to show 'Weekend', but I need to have a continuous list of Mon, Tue, Wed, Thu, Fri, Mon, Tue, Wed, Thu, Fri, Mon.........
Your help you be greatly appreciated as this has currently frustrated me for a good few hours!
Thanks
Lewis
I need to show a dynamic list of dates in the current month, but excluding weekends e.g.
1/4/10
2/4/10
5/4/10
6/4/10
7/4/10
8/4/10
9/4/10
12/4/10
I am able to get a full list of dates as shown below, and I can also identify which dates are weekends, however I need a continuous list excluding weekends.
Current setup is as below:
A1:A31 = Numbers 1-31 (although this will only need to be 22ish when weekends are exluded)
B1:B31 = =IF(MONTH(TODAY()-DAY(TODAY())+A1)<>MONTH(TODAY()),"#N/A",TODAY()-DAY(TODAY())+A1). This is to show the list of all dates in the month, and if the 31st day is actually the first of the previous month
C1:C31 = =IF(IF(OR(WEEKDAY(TODAY()-DAY(TODAY())+A1)=1,WEEKDAY(TODAY()-DAY(TODAY())+A1)=7),"WEEKEND",TODAY()-DAY(TODAY())+A1)="WEEKEND",C3,IF(OR(WEEKDAY(TODAY()-DAY(TODAY())+A1)=1,WEEKDAY(TODAY()-DAY(TODAY())+A1)=7),"WEEKEND",TODAY()-DAY(TODAY())+A1)). This currently tells me the day (Thu, Fri etc) of the date, and if the day is Sat or Sun it shows "weekend".
I dont need to show 'Weekend', but I need to have a continuous list of Mon, Tue, Wed, Thu, Fri, Mon, Tue, Wed, Thu, Fri, Mon.........
Your help you be greatly appreciated as this has currently frustrated me for a good few hours!
Thanks
Lewis