Results 1 to 27 of 27

Figure out occurence of overlapping date & time

Threaded View

Yonkers Figure out occurence of... 05-18-2009, 10:25 PM
teylyn Re: Figure out occurence of... 05-18-2009, 11:55 PM
Yonkers Re: Figure out occurence of... 05-19-2009, 07:26 PM
teylyn Re: Figure out occurence of... 05-19-2009, 10:04 PM
Yonkers Re: Figure out occurence of... 05-19-2009, 11:47 PM
teylyn Re: Figure out occurence of... 05-20-2009, 11:22 PM
Yonkers Re: Figure out occurence of... 05-21-2009, 02:02 AM
teylyn Re: Figure out occurence of... 05-21-2009, 07:15 PM
Yonkers Re: Figure out occurence of... 05-21-2009, 11:59 PM
teylyn Re: Figure out occurence of... 05-22-2009, 04:41 AM
Yonkers Re: Figure out occurence of... 05-22-2009, 05:23 PM
teylyn Re: Figure out occurence of... 05-25-2009, 06:49 PM
Yonkers Re: Figure out occurence of... 05-26-2009, 05:49 PM
JazzMak Re: Figure out occurence of... 03-04-2013, 10:25 PM
teylyn Re: Figure out occurence of... 05-26-2009, 07:32 PM
Yonkers Re: Figure out occurence of... 05-26-2009, 08:03 PM
Yonkers Re: Figure out occurence of... 05-26-2009, 09:38 PM
Yonkers Re: Figure out occurence of... 05-26-2009, 09:57 PM
nicoleemily Re: Figure out occurence of... 11-15-2012, 01:00 PM
arlu1201 Re: Figure out occurence of... 11-15-2012, 01:04 PM
eamo628 Re: Figure out occurence of... 07-30-2013, 12:06 PM
kevp913 Re: Figure out occurence of... 01-15-2014, 01:51 PM
jonathan.page Re: Figure out occurence of... 04-10-2014, 09:14 AM
desaia Re: Figure out occurence of... 12-04-2019, 12:19 PM
surjer Re: Figure out occurence of... 01-27-2020, 05:45 PM
FPEPRO Re: Figure out occurence of... 04-28-2020, 02:00 AM
AliGW Re: Figure out occurence of... 04-28-2020, 02:09 AM
  1. #8
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Figure out occurence of overlapping date & time

    Hi Yonkers,

    I think I've got it. I thought my head was going to explode, but it is really not that complicated.

    You need three checks only:

    1. Calls that start during the current call
    2. Calls that end during the current call
    3. Calls that start before and end after the current call.

    The fourth check is not necessary, because it will be covered by 1 and 2.

    Attached is a spreadsheet that lists 10 calls. I have created named ranges for the start and end date column, so it's easier to read and apply in formulas. A graph shows the start and duration of the calls, so it's easy to check if the formulas give the correct result.

    Now, in col G I calculate check 1: calls that start during my interval (including me)
    In col H I calculate check 2: calls that end during my interval (including me)

    These two checks form the bulk of the concurrent calls, but I really only need the biggest of these two calculations.

    On top of that I need to add calls that started before my interval and ended after my interval. This is calculated in column I

    In column J I put it all together manually and in column K it is all in one formula. You really only need column K, the rest is just to illustrate the elements of the formula.

    Try it and play around with the start and end times. The duration column is needed for the graph, so don't delete it.

    cheers
    Attached Files Attached Files
    Last edited by teylyn; 05-21-2009 at 07:34 PM.

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