+ Reply to Thread
Results 1 to 2 of 2

Formula to check ID and timestamp against list

  1. #1
    Registered User
    Join Date
    11-25-2013
    Location
    Baltimore, MD
    MS-Off Ver
    Microsoft Office Professional Plus 2010
    Posts
    6

    Formula to check ID and timestamp against list

    I have a tab with about 10,000 records with IDs and timestamps (date and time). On another tab I have a list of IDs and start and end timestamps. There are duplicate IDs on both tabs. I want a formula for the 10,000 records tab that checks the ID and timestamp for each row against all the IDs and start/end time stamps of the other column and flags the rows where the ID and timestamp fall within the start/end timestamp on the other tab. It seems pretty simple, and it feels like the code should be something like this (but this code doesn't work):

    =IF(AND(F2=List!C:C,B2>=List!F:F,B2<=List!G:G),"Y","N")

    where F2 is the ID and B2 is the timestamp on the records tab. The "List" tab has the ID in column C and the start/end timestamps in columns F and G respectively. Any help would be greatly appreciated!

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,843

    Re: Formula to check ID and timestamp against list

    A standard COUNTIFS is quick and easy:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This is what you were after but it's an array formula, has to be entered with Ctrl + Shift + Enter. If you feel like testing it DON'T use full columns, it will take forever. Already 10000 rows will be slow.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

+ 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. Static timestamp using check box
    By dddavedg in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-12-2016, 05:45 AM
  2. Formula to check list value the return corresponding column info
    By neilwilson in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2013, 07:04 PM
  3. Need a Formula to Check an Audit Log Against a List of Groups of People
    By badmoon75 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-22-2012, 11:44 AM
  4. write a sublist and tabulate timestamp next to matching value in list
    By anansi boy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-31-2012, 12:19 AM
  5. Check box Timestamp
    By blewbot in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-11-2010, 08:53 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