Results 1 to 6 of 6

Identify the pair and calculate the time difference if certain criteria match

Threaded View

  1. #1
    Registered User
    Join Date
    03-10-2014
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    27

    Identify the pair and calculate the time difference if certain criteria match

    Hi Guys,


    I need to identify pairs and calculate the time difference between two date-times provided:
    1) It belongs to the same customer
    2) The two date-time's difference is not beyond +/- 10 seconds

    The pairing is done as following:
    I1-T1 or T1-I1
    I2-T2 or T2-I2
    I3-T3 or T3-I3
    I4-T4 or T4-I4
    I5-T5 or T5-I5
    I6-T6 or T6-I6


    Where ever these conditions don't meet, it should be blank.

    Example INPUT data:

    Cust Date Category Expected O/P
    A 8/30/2014 8:46:04 I2
    A 8/30/2014 8:46:05 I1 -1.0001042
    A 8/30/2014 8:46:07 I4
    A 8/30/2014 8:46:14 T1 1.0001042
    A 9/1/2014 9:00:01 T2
    B 8/16/2014 16:25:15 T3 -0.0000116
    B 8/16/2014 16:25:16 I3 0.0000116
    B 8/16/2014 16:24:34 T4
    C 10/1/2014 14:20:14 I4
    C 10/1/2014 14:20:18 I5
    C 10/2/2014 12:12:16 T5
    C 10/2/2014 17:30:02 T6


    Please help me out guys

    Thanks,

    Chippi
    Last edited by Chippi; 11-10-2014 at 07:07 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Calculate Time Difference If With Multiple Criteria
    By gotsomekorn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-04-2014, 03:50 PM
  2. Calculate Date Difference with a criteria
    By ioncila in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-23-2013, 06:20 PM
  3. Match data and calculate date difference
    By bigband1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-03-2012, 07:19 AM
  4. Replies: 3
    Last Post: 03-02-2012, 08:18 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