+ Reply to Thread
Results 1 to 4 of 4

Attempting to retrieve data from a table with multiple criteria

  1. #1
    Registered User
    Join Date
    03-07-2007
    Location
    New Zealand
    Posts
    10

    Attempting to retrieve data from a table with multiple criteria

    Hello All,
    I'm trying to create a sheet that will return a value from a table based on several criteria entered.

    Capture.PNG

    So what I want is for the user to type in "B" and "3" in separate cells on a separate sheet, and then Excel will return 852, or "A" and "5" and get 654 and so on and so forth.

    I've searched on this forum and googled but don't think I'm asking the correct question with the correct wording (although did find stuff I didn't know I was looking for )

    I tried the DGET function, but that seems to only be able to look at 1 column, and pretty sure there's an easier way than oodles of Lookups.

    Thank you in advance for your help.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,929

    Re: Attempting to retrieve data from a table with multiple criteria

    v A B C D E F G H I
    1 Lookup B 4 answer 258
    2 1 2 3 4 5 6
    3 A 123 46 789 987 654 321
    4 B 963 369 852 258 741 147
    5 C 748 847 951 159 263 362
    6 D 421 689 986 753 357 632

    formula in I1 =VLOOKUP(B1,A3:G6,C1+1,0)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    03-07-2007
    Location
    New Zealand
    Posts
    10

    Re: Attempting to retrieve data from a table with multiple criteria

    Thank you alansidman this works perfect, and so much easier than what I envisaged.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,929

    Re: Attempting to retrieve data from a table with multiple criteria

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Index and match formula, attempting to return results with multiple criteria.
    By mahalek1976 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-02-2017, 12:43 AM
  2. Replies: 1
    Last Post: 09-03-2015, 02:53 PM
  3. [SOLVED] Need to retrieve multiple records from data, based on multiple criteria
    By lqangel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-21-2014, 01:46 PM
  4. Replies: 3
    Last Post: 01-06-2014, 01:22 PM
  5. How to retrieve names from the table? 2 criteria given
    By ABSTRAKTUS in forum Excel General
    Replies: 3
    Last Post: 05-10-2010, 01:15 PM
  6. Replies: 8
    Last Post: 03-21-2008, 12:09 PM
  7. Avoiding Errors When Attempting To Retrieve Data From A Non-existant Worksheet
    By BloodyShrapnel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-23-2006, 09:25 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