+ Reply to Thread
Results 1 to 2 of 2

Calculating Overlapped days

  1. #1
    Registered User
    Join Date
    05-16-2017
    Location
    London
    MS-Off Ver
    2013
    Posts
    2

    Cool Calculating Overlapped days

    Hi All

    Hope you are all well

    I am trying to find a solution for the following problem. I have a range of dates and want to work the total number of dates that are overlapped in the range.

    So as an example from the Date range below , how days are overlapped in the range. Is that possible and if so can anyone help and shed some light on a solution please.

    Ahmed 01/01/2017 15/04/2017
    Zahed 02/03/2017 30/03/2017
    Bill 01/05/2017 15/05/2017
    John 01/06/2017 30/06/2017
    Sam 01/05/2017 15/05/2017
    Hamaad 01/12/2016 31/12/2016
    Zain 01/12/2016 31/12/2016
    Gary 01/04/2017 30/04/2017



    Much Appreciated
    Sims

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Calculating Overlapped days

    I created a list of dates in Column E
    In E2 = MIN(B2:B9)
    Then in E3 down (until I got errors)
    =IF(E2+1<=MAX($C$2:$C$9), E2+1,"")
    Then in F2 copied down
    =COUNTIFS($B$2:$B$9,"<="&E2, $C$2:$C$9, ">="&E2)
    If a 2 appears in Column F, that date is in 2 ranges,
    If a 0 appears in Column F, that date is not in any range.
    I'm not sure what you are looking for in a final answer.
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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. Calculating Time Excluding Overlapped Time
    By jboms in forum Excel General
    Replies: 10
    Last Post: 10-20-2015, 08:28 PM
  2. Replies: 0
    Last Post: 10-31-2014, 10:32 AM
  3. Replies: 4
    Last Post: 12-16-2011, 02:55 PM
  4. Calculating time elapsed in days and count days within same range
    By michellem410 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-19-2008, 01:13 PM
  5. Replies: 6
    Last Post: 09-06-2005, 03:05 AM
  6. [SOLVED] Calculating recurring date in following month, calculating # days in that period
    By Walterius in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-05-2005, 11:05 PM
  7. [SOLVED] Calculating recurring date in following month, calculating # days in that period
    By Walterius in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-04-2005, 07:05 PM

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