samitnair

Board Regular
Joined
Jul 5, 2010
Messages
155
Hello

I need to generate a list (A1:A23) of working days (excluding weekdays) for the current month. I am currently using =WORKDAY(startdate,1,) with the startdate reference is in F1, but in that situation the A1 starts with the second working day. example: if I put 1 November 2017, Wednesday in cell F1 the list starts with 2 November 2017, Thursday. Please help
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
How about:
=WORKDAY(startdate-1,1)
 
Upvote 0
How about:
=WORKDAY(startdate-1,1)

Hello Joe,

That definitely did the trick but if I may ask, once i drag down the list goes beyond this month. Can we restrict the formula from not going beyond the startdate and end date specified in cell F1 and F2.

Also i had a doubt when we add this date list to a new chart it still shows saturday sundays? Is it a limitation or am I doing something wrong

Thanks
 
Upvote 0
What is the exact formula you are dragging down?
If you are using a named range of "startdate" and are hard-coding in the days you are adding, like shown:
Code:
[COLOR=#333333]=WORKDAY(startdate-1,1)[/COLOR]
the value would never change when dragging down.

So, I am guessing that you must have made some modification to your formula (other than the one that was posted).
 
Upvote 0
What is the exact formula you are dragging down?
If you are using a named range of "startdate" and are hard-coding in the days you are adding, like shown:
Code:
[COLOR=#333333]=WORKDAY(startdate-1,1)[/COLOR]
the value would never change when dragging down.

So, I am guessing that you must have made some modification to your formula (other than the one that was posted).

I have not created a named list. I have a start date of the current month in a cell F1


ABF
1=WORKDAY(F1-1,1)01 October 2018
2=WORKDAY(A1,1)
3=WORKDAY(A2,1)

<tbody>
</tbody>

Regards
 
Upvote 0
If you have an end date in cell F2, then if you put this formula in cell A2 and copy down, it will stop at your end date (it will show all blanks after that):
Code:
=IFERROR(IF(WORKDAY(A1,1)<=$F$2,WORKDAY(A1,1),""),"")
 
Upvote 0
If you have an end date in cell F2, then if you put this formula in cell A2 and copy down, it will stop at your end date (it will show all blanks after that):
Code:
=IFERROR(IF(WORKDAY(A1,1)<=$F$2,WORKDAY(A1,1),""),"")

Yes, your suggestion was helpful. I appreciate your help :)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,849
Messages
6,121,922
Members
449,056
Latest member
denissimo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top