+ Reply to Thread
Results 1 to 4 of 4

Lookup based off two criteria

  1. #1
    Registered User
    Join Date
    02-09-2009
    Location
    Washington, US
    MS-Off Ver
    Excel 2003
    Posts
    73

    Lookup based off two criteria

    I am trying to do the following and not sure which formula to use or if i have the table set up right

    Sheet 1

    Column A
    A1: Product
    A2: D10
    A3: D20
    A4: D30

    Column B
    B1: 12 (12 month term)
    B2: .2703
    B3: .2703
    B4: .2703

    Column C
    C1: 27 (27 month term)
    C2: .1560
    C3: .1560
    C4: .1560

    Column D
    D1: 39 (39 month term)
    D2: .1272
    D3: .1272
    D4: .1038

    Column E
    E1: 51 (51 month term)
    E2: .0846
    E3: .0846
    E4: .0831

    In Sheet 2

    If A1 has product (i.e D20)
    If A2 has term (39)

    then put the result in A3.... so find product D20 and the corresponding 39 month rate factor which would be .1272


    Thanks and appreciate any help,

    JJ
    Last edited by h_aesa1; 12-17-2011 at 10:14 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Lookup based off two criteria

    You'd do that with an INDEX of the data area with two MATCHes using the Product code for the row and the Term for the column

    Please post a sample workbook with some typical data ... not many people will want to create a worksheet in order to put together a *working* formula which subsequently turns out not to match your worksheet structure and data format.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    12-17-2011
    Location
    Cape York, Aust
    MS-Off Ver
    Excel 2003, 2010
    Posts
    1

    Re: Lookup based off two criteria

    Quote Originally Posted by h_aesa1 View Post
    I am trying to do the following and not sure which formula to use or if i have the table set up right

    Sheet 1

    Column A
    A1: Product
    A2: D10
    A3: D20
    A4: D30

    Column B
    B1: 12 (12 month term)
    B2: .2703
    B3: .2703
    B4: .2703

    Column C
    C1: 27 (27 month term)
    C2: .1560
    C3: .1560
    C4: .1560

    Column D
    D1: 39 (39 month term)
    D2: .1272
    D3: .1272
    D4: .1038

    Column E
    E1: 51 (51 month term)
    E2: .0846
    E3: .0846
    E4: .0831

    In Sheet 2

    If A1 has product (i.e D20)
    If A2 has term (39)

    then put the result in A3.... so find product D20 and the corresponding 39 month rate factor which would be .1272


    Thanks and appreciate any help,

    JJ
    Mate, maybe I'm not getting the prob right, if I am then you don't need any coding, see the attached file which just uses Vlookup twice

    Vlookupeg.xlsx

  4. #4
    Registered User
    Join Date
    02-09-2009
    Location
    Washington, US
    MS-Off Ver
    Excel 2003
    Posts
    73

    Re: Lookup based off two criteria

    thanks Peter, that is what I am looking for, appreciate the help.

+ 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