+ Reply to Thread
Results 1 to 4 of 4

3 drop-down lists and lookup value

  1. #1
    Registered User
    Join Date
    12-30-2009
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Excel 2007
    Posts
    2

    3 drop-down lists and lookup value

    I have 3 drop down lists shaded in green. I want to choose a Hydrologic Soil Group from a drop-down list. I want to choose a Cover Type from a drop-down list. Finally, I want to choose a Cover Description from a drop-down list. All lists have already been created and work fine. The problem is....

    In the red shaded cell L9 I want an equation that will look up a Cover Type (D9), Cover Description (D10) and a Hydrologic Soil Group (C9) and return a CN value from the table in the CN Values worksheet. If the soil group is A the the CN value should be 57. B returns 72, C returns 81, and D returns 86.

    I would appreciate any help on this.
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: 3 drop-down lists and lookup value

    =INDEX('CN Values'!$C$1:$F$39,MATCH(D9&D10,INDEX('CN Values'!$A$1:$A$100&'CN Values'!$B$1:$B$100,0),0),MATCH(C9,'CN Values'!$C$1:$F$1,0))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: 3 drop-down lists and lookup value

    Try:
    =INDEX('CN Values'!C$1:F$39,SUMPRODUCT(ROW('CN Values'!A$2:A$39),-('CN Values'!A$2:A$39=D9),-('CN Values'!B$2:B$39=D10)),MATCH(C9,'CN Values'!C$1:F$1,0))

    You will find your spreadsheet much easier to work with without merged cells.

    HTH

  4. #4
    Registered User
    Join Date
    12-30-2009
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: 3 drop-down lists and lookup value

    Problem solved. Thank you

+ 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