Results 1 to 2 of 2
  1. #1
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265

    A MATCH function for Access?

    In the attached database, I have two simple tables. One contains timesheet data and the other defines each person's labor category and the effective dates of any labor category they are assigned to.



    I am trying to create a query that will pull the timesheet data, compare it to the LaborCat file, then determine if the labor category in the timesheet file is correct or not, based on the timesheet date.

    For example, on 07.05.2014, Howard Hughes is a Software Engineer II. But according to the LaborCatFile, he should be a Software Engineer I, because 07.05.2014 falls BETWEEN 05.01.2014 and 07.31.2014.

    Excel has a MATCH function which works vertically. Does Access have a similar function which can work horizontally across the Start and End columns of the LaborCat file?


    I just don't know where to start.
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    No.

    Have to build expression in query that compares data or do a Find Unmatched query or build custom function.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Vlookup & Match on a table in microsoft access
    By forestgump in forum Queries
    Replies: 4
    Last Post: 09-19-2014, 06:58 PM
  2. Replies: 1
    Last Post: 09-30-2012, 07:03 AM
  3. Choose match index in access
    By dastr in forum Access
    Replies: 1
    Last Post: 03-19-2012, 03:36 PM
  4. Replies: 16
    Last Post: 03-13-2012, 03:47 PM
  5. How does access match records?
    By johnmerlino in forum Access
    Replies: 4
    Last Post: 10-05-2010, 08:51 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums