+ Reply to Thread
Results 1 to 2 of 2

Formula needed to calculate number of days between 2 dates that equal a given value

  1. #1
    Registered User
    Join Date
    03-19-2014
    Location
    Bedford, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Formula needed to calculate number of days between 2 dates that equal a given value

    Hello.......Hoping someone can help. I have two date columns, a start date and end date. Another columns tells me the number of days between these two columns. It may return 45 days which actually straddle 3 different months.

    My aim is to identify between this date range how many days in Apr 14. Then in the next column howmany days in May 14 etc

    So on the spreadsheet Id have 12 columns for each month of the year. in Apr 14 for each row between the given date range I want it to tell me how many days are actually in April. Id then copy that formula into the May 14 column.


    Hope this is clear??

    Thanks in advance

  2. #2
    Registered User
    Join Date
    03-19-2014
    Location
    Bedford, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Formula needed to calculate number of days between 2 dates that equal a given value

    Okay so this works

    =MAX(0,NETWORKDAYS(MAX($O2,Q$1),MIN($P2,EOMONTH(Q$1,0))))

    But it is excluding saturday & sundays? Anyone know whay I replace NETWORKDAYS with? is there an ALL DAYS etc??

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. vba code needed to calculate the number of working days thus far for the month
    By Jim885 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-22-2014, 09:38 PM
  2. [SOLVED] Formula needed to calculate working days in specified month between two dates
    By webfeet2 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-24-2013, 02:19 AM
  3. Calculate number of days between dates
    By karl8695 in forum Excel General
    Replies: 1
    Last Post: 05-08-2012, 12:54 PM
  4. calculate number days between dates less Sat and Sun
    By maacmaac in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-26-2010, 11:09 AM
  5. Formula to calculate number of days between Dates
    By themax16 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-21-2005, 09:05 AM

Tags for this Thread

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