+ Reply to Thread
Results 1 to 6 of 6

Table Lookup - Multiple Criteria

  1. #1
    Registered User
    Join Date
    08-08-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Smile Table Lookup - Multiple Criteria

    Hi !

    I'm hoping someone can point me in the right direction!

    I have a table of values (Please see attachment) which I need to query, then return a result based matching a range, as well as meeting one other criteria.

    Units 1 2 3 4 5
    20-49 3.67 4.43 5.18 5.99 6.80
    50-99 2.16 2.48 2.92 3.35 4.05

    User needs to enter a unit qty: 55
    User needs to enter a number qty (EG:1,2,3,4 or 5): 3

    Formula needs to return the price/value 2.92

    The formula will need to determine that the unit qty entered sits within the range (50-99), then will need to display the price/value based the number qty entered (3).

    Thus, displaying: 2.92 !

    Simple for you I'm sure.... bugging the sh|t out of me! Any assistance would be greatly appreciated.

    Thanks!JDW-TableLookup.xlsx
    Last edited by JBeaucaire; 08-08-2012 at 03:10 AM. Reason: Corrected thread title to topic only, as per forum rules

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Table Lookup - Multiple Criteria (Help please!) :-)

    Hi Jdw,

    Welcome to the forum.

    Try using below array formula:-

    {=INDEX($A$1:$O$11,MIN(IF($A$3:$A$11>=$D$14,ROW($A$3:$A$11),""),IF($B$3:$B$11>=$D$14,ROW($B$3:$B$11),"")),MATCH($D$15,1:1,0))}

    See attached:- JDW-TableLookup.xlsx


    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Table Lookup - Multiple Criteria (Help please!) :-)

    maybe also like this???

    =INDEX(D3:O11,IFERROR(MATCH(D14,C3:C11,1),0)+1,MATCH("Print No - "&D15,D2:O2,0))

    with a helper column.

    JDW-TableLookup.xlsx
    Last edited by vlady; 08-08-2012 at 02:10 AM.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  4. #4
    Registered User
    Join Date
    08-08-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Table Lookup - Multiple Criteria (Help please!) :-)

    Thank you Dilipandey & vLady for your suggestions. I appreciate your assistance!

  5. #5
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Table Lookup - Multiple Criteria (Help please!) :-)

    Your welcome from : dilip and vlady..

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Table Lookup - Multiple Criteria

    cheers

    Thanks.. I like this vlady

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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