Hey,
There may already by a similar thread but I have not found it. I am currently trying to develop a formula to calculate the number of days per motnh between a range of dates. ie. Between December 30th and January 5th, how many days were in December and how many in January? So the response should be 2 and 5 respectively.
I have modified a formula I found that has almost gotten the right output but the DAYS360 does not allow for the proper output as it seems to take a day off each month. Can someone help me rework this formula o maybe create a completely different one?? Here is the formula I am currently using and a copy of the sheet.
=IF($B5="","",MAX(0,DAYS360(MAX($B5,D$3),MIN($C5,EOMONTH(D$3,0)))))
Bookmarks