+ Reply to Thread
Results 1 to 6 of 6

Help with xlookup combined with index match and table references

  1. #1
    Forum Contributor
    Join Date
    05-16-2013
    Location
    Dallas, Texas
    MS-Off Ver
    O365 with latest Excel
    Posts
    107

    Help with xlookup combined with index match and table references

    Hi Geniuses!

    I am doing a double lookup from one named table to another. My WorkingTBL is the name of the destination for the formula that I keep trying to fix. I am needing to use the columns [Year] and [Personnel Name] to then lookup the appropriate rate in my PersonnelTBL.

    My value errors keep breaking my brain:

    Please check out my formula on the working tab - I want the formula to look at the data in the row given on the Year and the Personnel Name, then return the rate from the correct row and column of the PersonnelTBL on the lookups tab.

    TLDR - what's wrong with this formula?
    =XLOOKUP([@[Personnel Name]], PersonnelTBL[Personnel Name], INDEX(PersonnelTBL, MATCH([@Year], PersonnelTBL[#Headers], 0), 0), , "banana")
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    05-16-2013
    Location
    Dallas, Texas
    MS-Off Ver
    O365 with latest Excel
    Posts
    107

    Re: Help with xlookup combined with index match and table references

    And yes, my default word for errors that are technically not errors but kind of are errors is 'banana'

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,817

    Re: Help with xlookup combined with index match and table references

    Try the following in cells G3 and down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  4. #4
    Forum Contributor
    Join Date
    05-16-2013
    Location
    Dallas, Texas
    MS-Off Ver
    O365 with latest Excel
    Posts
    107

    Re: Help with xlookup combined with index match and table references

    This works almost perfectly - and I love the alternative idea of using SUMPRODUCT!

    Where it works is based on the person selected in the Personnel Name for the WorkingTBL.

    However, when I select a different Year in the WorkingTBL, the rate does not automatically look for the appropriate year column in the PersonnelTBL.

    Thoughts?

  5. #5
    Forum Contributor
    Join Date
    05-16-2013
    Location
    Dallas, Texas
    MS-Off Ver
    O365 with latest Excel
    Posts
    107

    Re: Help with xlookup combined with index match and table references

    Oh geez - nevermind - I never updated my formulas on the PersonnelTBL!

    This solution works perfectly!!!

    Thanks so much!

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,817

    Re: Help with xlookup combined with index match and table references

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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] Using INDEX MATCH with Structured Table References - How to Handle Columns?
    By viewotst in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-08-2022, 08:55 AM
  2. Index/Match vs Xlookup
    By lastnn30 in forum Excel General
    Replies: 3
    Last Post: 11-28-2021, 01:53 PM
  3. Replies: 2
    Last Post: 11-26-2021, 10:39 PM
  4. [SOLVED] XLOOKUP not picking up table references while constructing a formula
    By Questray in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-13-2021, 12:31 PM
  5. Replies: 1
    Last Post: 05-25-2017, 10:54 AM
  6. [SOLVED] Formula Syntax with INDEX/MATCH and other table references
    By phpolicylady in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-12-2015, 06:18 PM
  7. Using INDEX MATCH with table references
    By pippib in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-06-2013, 04:34 PM

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