+ Reply to Thread
Results 1 to 4 of 4

Calculating #Workdays overlapping between 2 sets of date ranges (per person)

  1. #1
    Registered User
    Join Date
    09-18-2014
    Location
    Los Angeles, CA
    MS-Off Ver
    2013
    Posts
    33

    Calculating #Workdays overlapping between 2 sets of date ranges (per person)

    I know of a formula that can calculate # workdays overlapping between 2 date ranges... but i need this per person for multiple date ranges, and i'm not sure how to wrap my head around it.

    Formula for # workdays between 2 date ranges:
    =MAX(0,NETWORKDAYS(MAX(E2,E3),MIN(F2,F3),L_Holidays))


    I have attached an example of 2 tables, one is "PTO" the other is "Projects". On the projects side of the table i need a formula that can detect the person responsible for the project, and look through that persons PTO on the PTO table, then count the number of overlapping days between the start and end date of the project and all of the start and end dates of any applicable PTO.


    Thanks much for your help!
    Attached Files Attached Files
    Last edited by pluqk; 12-09-2016 at 04:08 AM. Reason: typos

  2. #2
    Registered User
    Join Date
    09-18-2014
    Location
    Los Angeles, CA
    MS-Off Ver
    2013
    Posts
    33

    Re: Calculating #Workdays overlapping between 2 sets of date ranges (per person)

    Please let me know if this makes sense, it's been difficult for me to explain to people. I'm hoping the attachment helps.

  3. #3
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Calculating #Workdays overlapping between 2 sets of date ranges (per person)

    there was a wrong year in yellow cell
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-18-2014
    Location
    Los Angeles, CA
    MS-Off Ver
    2013
    Posts
    33

    Re: Calculating #Workdays overlapping between 2 sets of date ranges (per person)

    Thanks Tim, this is exactly what I needed. Now I just need to look through it to digest it.

+ 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. [SOLVED] Calculating # of Overlapping days with several date ranges and conditions
    By ZafferAhmed in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-30-2021, 05:44 AM
  2. Overlapping Date ranges
    By pvd12 in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 01-07-2016, 03:01 AM
  3. [SOLVED] Calculating Workdays for each quarter from a start and end date
    By ebe in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-09-2015, 01:00 PM
  4. Calculating # of Overlapping days with several date ranges.
    By CarlSVM in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-06-2014, 07:09 AM
  5. [SOLVED] need help calculating workdays within a date range
    By rh23456 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-21-2013, 06:04 PM
  6. Calculating workdays based on date/time received
    By Sharv103 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-18-2013, 08:46 PM
  7. preventing overlapping date ranges
    By xlfan in forum Excel General
    Replies: 2
    Last Post: 03-01-2011, 10:03 PM

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