List working dates between two dates

AndyMb

New Member
Joined
Jul 1, 2015
Messages
20
Hi,

I want to list sequentially all working dates between two dates inclusively.

So in A1 I have start date and A2 end date.

In B1 would be the first working date, B2 the second working date and so on until it reached the end date.

example.

Start: 22nd December 2017
End: 28th December 2017

There are 3 working days and would be listed in column B as:

22/12/17
27/10/17
28/10/17

So the weekend (23rd and 24th would be ignored and Christmas Day and Boxing day would be ignored) note : I have a table of holiday dates (Christmas etc.)

Any thoughts?

Thanks
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi, here is one option - in this example the holiday dates list is D1:D2.. formula in B1 is copied down.


Excel 2013/2016
ABCD
122-Dec-1722-Dec-1725/12/2017
228-Dec-1727-Dec-1726/12/2017
328-Dec-17
ALL input datatable
Cell Formulas
RangeFormula
B1=IF(ROWS(B$1:B1)>NETWORKDAYS($A$1,$A$2,$D$1:$D$2),"",WORKDAY($A$1-1,ROWS(B$1:B1),$D$1:$D$2))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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