+ Reply to Thread
Results 1 to 2 of 2

Range problem

  1. #1
    Registered User
    Join Date
    11-28-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    10

    Unhappy Range problem

    Hi,

    I have two sheet which consist of person name and the time of his call.
    1st sheet
    i.e name Time of call
    Amitav 10:03:19

    2nd sheet

    name Time of call
    Amitav 10:03:19
    Amitav 10:04:19

    The first sheet has only one entry of amitav and the second sheet has many. i want to check whether amitav has made any calls in a span of +30 or -30min from the time mentioned in the first sheet with reference to the second sheet.


    Thanks a lot

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Range problem

    Try this

    On Sheet 1 ..

    =IF(SUMPRODUCT(--(A1=Sheet2!$A$1:$A$20),--(B1+30/1440>=Sheet2!$B$1:$B$20),--(B1-30/1440<=Sheet2!$B$1:$B$20))>0,"made calls within +/- 30 min","no calls within +/- 30 min")

    Adjust ranges accordingly
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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