Results 1 to 6 of 6

Count days per month between two dates

Threaded View

  1. #1
    Registered User
    Join Date
    01-24-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    5

    Count days per month between two dates

    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)))))
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1