+ Reply to Thread
Results 1 to 3 of 3

Basic table lookup

  1. #1
    Registered User
    Join Date
    02-11-2011
    Location
    Annapolis, MD
    MS-Off Ver
    Excel 2010
    Posts
    11

    Basic table lookup

    I'm sure this question is in the forums somewhere (I did look) already so please feel free to direct me to an existing thread if you want.
    I have an all text table (i.e. no math req'd). Rows are task numbers (1 through 100) and columns are job names. On a different worksheet I need to return the text string in a cell in this table based on its column name and row name. Below is a link to a google doc showing similar 2 work sheets

    https://docs.google.com/spreadsheet/...NQWUE&hl=en_US

    Also, attached to this message is the same workbook in Excel.

    So on worksheet "Lookup Sheet" I need to be able to enter the job name and the task number and have the task brief returned. The target cell is C2 (to enter the formula to return the "value" based on the row and column criteria).

    Pretty simple I think, just need to pointed in the right direction.
    With Thanks,
    Scott
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Basic table lookup

    Use Index and Match functions like so

    =INDEX('Data Table'!$B$2:$E$11,MATCH(B2,'Data Table'!$A$2:$A$11,0),MATCH(A2,'Data Table'!$B$1:$E$1,0))

    Is that what you were looking for?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Basic table lookup

    Hi,

    Does the attached help?

    Regards
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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