Calculate days between 2 dates, based on number of days per month

ldoodle

New Member
Joined
Mar 2, 2010
Messages
37
Hi,

The simpler form of this is simple :). I have a start and end date:

A1 = 1 Jan 2020
A2 = 1 Jul 2020 (for example, could be anything up to 60 months)
A3 = NETWORKDAYS(A1,A2) = 131

However:

A4 = 4 (for example, could be anything up to 22 (working days basically))

So I need to work out how many days something happens from start date to end date, based on the number of days per month (cell A4)

Thanks
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Your question is not very clear.
For information on Workdays see Excel's Help.

T202006b.xlsm
ABC
101-Jan-20
201-Jul-20
3131
410-Jan-2023
5
6WorkdaysDays in Month
731-Dec-19
831-Jan-202331
929-Feb-202029
1031-Mar-202231
1130-Apr-202230
1231-May-202131
1330-Jun-202230
1401-Jul-2011
15
1c
Cell Formulas
RangeFormula
A3A3=NETWORKDAYS(A1,A2)
B4B4=LOOKUP(EOMONTH(A4,0),A7:B14)
B8:B14B8=NETWORKDAYS(A7+1,A8)
C8:C14C8=A8-A7
 
Upvote 0

Forum statistics

Threads
1,214,393
Messages
6,119,261
Members
448,880
Latest member
aveternik

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