+ Reply to Thread
Results 1 to 6 of 6

lookup values via drop-down lists

Hybrid View

  1. #1
    Registered User
    Join Date
    12-15-2006
    Posts
    25

    lookup values via drop-down lists

    Hi

    I have a table of data which I want to query based on two criteria, using drop-down lists.
    Criteria 1 is in rows, and criteria 2 is in columns, as follows:

    1 2 3
    100 a b c
    200 d e f
    300 h i j
    400 k l m

    The query table looks like this:

    criteria 1 [drop-down list]
    criteria 2 [drop-down list]
    [value]

    I think the formula for the [value] cell should be relatively straightforward, but I'm really struggling ... please help!

    Ian

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe this link will help

    http://www.j-walk.com/ss/excel/usertips/tip020.htm

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    12-15-2006
    Posts
    25
    Thanks - that works perfectly!

    Just to make life difficult, I've tried adding a third MATCH criteria, but it doesn't work - does a three-way table lookup require a different formula?

    I have a sequence of 4-column tables, each table has two header rows - the first with a common value, the second with variants. I want to be able to look up data via the first and second column headers, then by row.

    Hope that makes sense!

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

  5. #5
    Registered User
    Join Date
    12-15-2006
    Posts
    25
    Hmmm .. makes me realise how badly my data is structured!
    A bit of tidying up should mean I can stick with the two-way lookup ... thanks for your help.

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    No problem

    VBA Noob

+ 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