+ Reply to Thread
Results 1 to 7 of 7

Building a lookup with parts of a table reference

  1. #1
    Registered User
    Join Date
    09-10-2010
    Location
    UK, Marlborough
    MS-Off Ver
    365 (latest beta)
    Posts
    60

    Building a lookup with parts of a table reference

    An easy one if you know it, I used to but I can't remember at all and googling this isn't helping:

    I'm trying to create a lookup that builds the table reference up with parts of text from other cells:

    C14 = "X"
    C15 = "S"

    =XLOOKUP([@W],Table_actual_SKU[SKU depth],"Table_actual_SKU["&C14&C15&"]")

    Clearly the above doesn't work, but I can't remember for the life of me the function that allows me to build up the text of a reference that allows Excel to then use the complete reference:

    =XLOOKUP([@W],Table_actual_SKU[SKU depth],Table_actual_SKU[XS])

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,741

    Re: Building a lookup with parts of a table reference

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

    Also as you are using xlookup you might want to update your profile as 2007 doesn't have it.

  3. #3
    Registered User
    Join Date
    09-10-2010
    Location
    UK, Marlborough
    MS-Off Ver
    365 (latest beta)
    Posts
    60

    Re: Building a lookup with parts of a table reference

    I've just discovered I can nest xlookups per this article:
    https://exceljet.net/formula/xlookup...%20Explanation

    immediate problem solved, but still have the question on how you build a table reference from other cells/text if anyone can help?

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,741

    Re: Building a lookup with parts of a table reference

    Did you see my post.

  5. #5
    Registered User
    Join Date
    09-10-2010
    Location
    UK, Marlborough
    MS-Off Ver
    365 (latest beta)
    Posts
    60

    Re: Building a lookup with parts of a table reference

    indirect - that's the one!! Thank you.

    I didn't realise my profile was that old tbh! Also you're just down the road from me, I'm Melksham (our office used to be in Chips)

  6. #6
    Registered User
    Join Date
    09-10-2010
    Location
    UK, Marlborough
    MS-Off Ver
    365 (latest beta)
    Posts
    60

    Re: Building a lookup with parts of a table reference

    I did, thank you! I hadn't refreshed for a while.

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,741

    Re: Building a lookup with parts of a table reference

    Glad to help & thanks for the feedback.

+ 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] Building a lookup table based on sheet file or Pivot table
    By spenctr01 in forum Excel General
    Replies: 2
    Last Post: 12-20-2021, 08:23 AM
  2. Creating a lookup table for watch parts
    By alexjt11 in forum Excel General
    Replies: 3
    Last Post: 06-09-2021, 02:16 AM
  3. Need help to create parts cross reference table
    By hp801 in forum Excel General
    Replies: 1
    Last Post: 01-29-2014, 05:55 AM
  4. [SOLVED] Quick Parts making building blocks available to other computers
    By pierre86 in forum Word Formatting & General
    Replies: 1
    Last Post: 12-05-2013, 09:42 PM
  5. [SOLVED] Building a parts list
    By timeasterday in forum Excel General
    Replies: 4
    Last Post: 05-07-2013, 12:07 PM
  6. Building a lookup table with 3 variables/3 answers
    By Dannypak in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-26-2009, 12:12 PM
  7. Building the sheet name from two parts?
    By Nice in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-07-2006, 05:14 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