+ Reply to Thread
Results 1 to 5 of 5

Compare Two Dates/Times for Time Window Match (ie are they both in a 20 min window)

  1. #1
    Registered User
    Join Date
    05-11-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Question Compare Two Dates/Times for Time Window Match (ie are they both in a 20 min window)

    Howdy,

    I'm a little stuck, dates and times are not my strength in excel

    I have two cells in excel

    A1 = 16/02/2011 16:14
    B1 = 16/02/2011 16:33

    Is it possible to work out the following:

    1. How many minutes difference are between these two
    2. Then to find matches where they are within say a 20 minute window of each other?

    Many thanks,

    Matthew

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Compare Two Dates/Times for Time Window Match (ie are they both in a 20 min windo

    Try B1-A1 formated as [m]:ss

    For 2nd can you give some further explanation, or even better, upload example workbook?

  3. #3
    Registered User
    Join Date
    05-11-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Compare Two Dates/Times for Time Window Match (ie are they both in a 20 min windo

    Quote Originally Posted by zbor View Post
    Try B1-A1 formated as [m]:ss

    For 2nd can you give some further explanation, or even better, upload example workbook?
    Hi,

    See attached.

    I'd like to know the time difference between the two dates/times. ie in this example, 20 minutes.

    Matthew
    Attached Files Attached Files

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Compare Two Dates/Times for Time Window Match (ie are they both in a 20 min windo

    Check this:
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-11-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Compare Two Dates/Times for Time Window Match (ie are they both in a 20 min windo

    Quote Originally Posted by zbor View Post
    Check this:
    Ah you have a filter [m] LOL, that simple !!!

    Many thanks,

    Matthew

+ Reply to Thread

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