+ Reply to Thread
Results 1 to 6 of 6

Lookup value in one list to return corresponding value from another

  1. #1
    Registered User
    Join Date
    06-26-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    9

    Question Lookup value in one list to return corresponding value from another

    Untitled.jpg
    I have been stuck in this problem for many days now and would really appreciate any help on this.

    Problem: I have two lists of data. Products and their corresponding prices.
    What I want to do is to create a data validation drop-down list of products. When a product is selected from this drop-down list, I want the corresponding price to be displayed in an adjacent cell.

    I thought I could use a nested IF condition but it has limitations in terms of number of arguments.
    Please help.

    Thanks in advance.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Lookup value in one list to return corresponding value from another

    If the "Products" list has unique values you could use VLOOKUP function. It will lookup value selected from the validation list.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Lookup value in one list to return corresponding value from another

    an index match would work better

    Use data validation > list and use the range for the Products - In my example in E2
    and then in the next cell use index match
    =INDEX(B:B,MATCH(E2,A:A,0))


    see the attached example
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Registered User
    Join Date
    06-26-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    9

    Thumbs up Re: Lookup value in one list to return corresponding value from another

    Thanks etaf. It worked. Thanks a ton.

  5. #5
    Registered User
    Join Date
    06-26-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Lookup value in one list to return corresponding value from another

    @Alkey: unfortunately it isnt a particular value but infact a range of values that the user will select from. Thanks

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Lookup value in one list to return corresponding value from another

    your welcome , I think Alkey, had the same suggestion as i have - except using vlookup instead of index/match

    if my assistance has helped, and only if you wish to , there is a reputation icon * on the left hand side - you can add to my reputation here
    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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