+ Reply to Thread
Results 1 to 2 of 2

Common Times between two lists

  1. #1
    Registered User
    Join Date
    03-15-2011
    Location
    Cottingham, England
    MS-Off Ver
    Excel 2003
    Posts
    28

    Common Times between two lists

    Hi all,
    I have a list of call data as follows

    A|B|C
    Call start|Call end|Agent
    08:02:06|08:09:10|John
    08:03:58,08:08:02|George
    08:10:19|08:20:20|Ringo
    08:12:12|08:13:56|Paul
    08:15:23|08:16:30|George
    08:15:45|08:20:55|John

    I have a second sheet where I want to know how many calls an agent was involved in, in a given 15 minute peroid (if a call spans two periods, it should be counted in both as per Ringo's call) as follows:

    Period Start|Period End|John|Paul|George|Ringo
    08:00:00|08:14:59|1|1|1|1
    08:15:00|08:29:59|1|0|1|1

    I am really struggling to find the formula that caclulcates the data.

    Can anyone help?
    Thanks

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Common Times between two lists

    I went with SUMPRODUCT, and added my range criterion to produce an OR-like effect.

    =SUMPRODUCT(($C$1:$C$6=B$10)*(((($A$1:$A$6>=$A11)*($A$1:$A$6<$A12))+(($B$1:$B$6<$A12)*($B$1:$B$6>$A11)))>0))
    Attached Files Attached Files
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

+ 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 common times
    By martindrew in forum Excel General
    Replies: 3
    Last Post: 09-28-2010, 03:33 AM
  2. Common Entries Between Lists
    By nielsfogt in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 05-07-2007, 05:16 PM
  3. Common Entries Between Lists
    By RDK22 in forum Excel General
    Replies: 2
    Last Post: 05-06-2007, 12:37 PM
  4. Retrieving Values that are Common to Two Lists
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-28-2005, 11:29 AM

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