+ Reply to Thread
Results 1 to 7 of 7

Two Way Lookup With Indirect

  1. #1
    Registered User
    Join Date
    07-19-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Two Way Lookup With Indirect

    Hi All, have a tricky question you all can hopefully help me with.

    I have 10 different tables that are the same dimensions (5x5) that have the same headers/columns but different values. I want to create a formula that can do a 2 way lookup based on the table name (using an indirect). Where I'm having trouble is figuring out how to reference the proper column/header array since each of the tables are located in different places.


    In my data,

    Column A has the Table Name
    Column B has the Column Lookup Value
    Row 1 has the Row Lookup Value

    I imagine it'd look something like this: =Index(INDIRECT(A2),MATCH(B2,COLUMN ARRAY,0),MATCH(C1,HEADER ARRAY,0))

    Any ideas? Thanks!

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Two Way Lookup With Indirect

    I'm not sure why you're using INDIRECT... Please attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    07-19-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Two Way Lookup With Indirect

    Hi, here is an example workbook.

    Tables are on the first tab, and I need formulas in cells C2:F4 that will pull those expected values. I need a formula that will be able to lookup the value in B2 and C1 to the corresponding table in A2.

    I thought of using an indirect in order to get the actual table name. Let me know if you have any other ideas.

    Book3.xlsx

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Two Way Lookup With Indirect

    How much freedom do I have to muck around with the way the data are laid out in the sheet "Tables"?

  5. #5
    Registered User
    Join Date
    07-19-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Two Way Lookup With Indirect

    Open to any other ideas, just keep in mind that I simplified the data. There are about 10 tables all with the same columns/headers just different values on the inside.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Two Way Lookup With Indirect

    OK... I'll be back

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Two Way Lookup With Indirect

    I didn't have to take too many liberties with your data (I hope). This is an array formula, ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Attached Files Attached Files

+ 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. Lookup with an indirect
    By amartino44 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-06-2013, 01:01 PM
  2. [SOLVED] Lookup help using INDIRECT
    By Kuehl5000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-20-2013, 05:24 PM
  3. Indirect lookup
    By kborgers in forum Excel General
    Replies: 7
    Last Post: 11-07-2012, 03:49 PM
  4. Lookup v Indirect
    By freekrill in forum Excel General
    Replies: 1
    Last Post: 09-26-2006, 01:45 PM
  5. [SOLVED] indirect lookup
    By choice in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-26-2005, 09:06 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