+ Reply to Thread
Results 1 to 3 of 3

Two way lookup against a name and date

  1. #1
    Registered User
    Join Date
    01-11-2022
    Location
    London, England
    MS-Off Ver
    365
    Posts
    1

    Two way lookup against a name and date

    I want a formula to lookup a date, establish whats it falls onto using the week ending date, match that against the employee name and return the intersecting value.

    For example, I want to see James' potential hours for 8/1/21, which should return 32 (B16). If the date was 04/04/21 then it should return 25.6 for James

    The dates in my dataset are by week ending e.g. Sunday 10/1/21 so a date lookup would need to know that 8/1/21 falls under that week and returns the intersecting value against the employee name

    I have tried the following xlookup to no avail

    =XLOOKUP(B3,A13:A16,XLOOKUP(B4,B12:AW12,B16:AW16,"not found",1,1))
    Attached Files Attached Files

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,416

    Re: Two way lookup against a name and date

    worksheet name : Potential hours

    Cell B5 formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Two way lookup against a name and date

    you could also use INDEX-MATCH-MATCH, like this:

    Please Login or Register  to view this content.

+ 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. [SOLVED] Merge Vlookup & Lookup With lookup criteria of name & Date Range
    By ravishekhar89 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-30-2021, 06:29 AM
  2. Replies: 25
    Last Post: 09-17-2020, 02:30 PM
  3. date column to look up todays date and copy/paste in same row as date lookup
    By fst100 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-30-2019, 07:48 AM
  4. [SOLVED] Lookup: Lookup employee id and return value in cell x basued on most recent start date
    By jekeith in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-21-2018, 12:56 PM
  5. [SOLVED] Nest lookup Function to lookup name between date range and return value
    By bbeards in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2018, 01:37 PM
  6. Replies: 3
    Last Post: 08-23-2017, 07:04 PM
  7. Replies: 2
    Last Post: 10-31-2012, 11:44 AM

Tags for this Thread

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