+ Reply to Thread
Results 1 to 5 of 5

'IF vlookup returns exact match, then activate and select from a 'list'

  1. #1
    Registered User
    Join Date
    05-08-2013
    Location
    Gatwick
    MS-Off Ver
    Excel 2010
    Posts
    3

    'IF vlookup returns exact match, then activate and select from a 'list'

    If anyone can help with this I would be most grateful and would provide the necessary detail.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: 'IF vlookup returns exact match, then activate and select from a 'list'

    You need to give more detail. Do you want this list selection in the same cell?
    If you are talking about the vlookup in say A2 and the list option in B2, then you can use Dependent Data Validation as described here

    http://www.contextures.com/xlDataVal02.html
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    05-08-2013
    Location
    Gatwick
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: 'IF vlookup returns exact match, then activate and select from a 'list'

    ok thanks for swift reply - appreciated
    sheet1
    column A1:A10000 contains company name details
    column B1:B10000 contains 1st contact details
    column C1:C10000 contains 2nd contact details and so on through D:G
    column F1:F10000 contains a numeric code assigned to each entry in A1:A10000

    I created a list to make the drop down selection for A1:A100000 (column G) and the NEXT column F needs a VLOOKUP (or suggestions) that looks at matching the record entry from G: in A: and then in the same function allows/provides me with a selection/list from B:G:

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: 'IF vlookup returns exact match, then activate and select from a 'list'

    Something like this? (See attachment)
    With the lookup list for A:A in G1
    With the selected cell H1, go to Defined Name (i.e. List)
    =INDEX(Sheet1!$B$1:$E$5,MATCH(G1,Sheet1!$A$1:$A$5,0),)

    Then in H1
    Data Validation > List> = List (or whatever name you defined)
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-08-2013
    Location
    Gatwick
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: 'IF vlookup returns exact match, then activate and select from a 'list'

    Outstanding - tested and works a treat - great stuff - a smile a day!
    Thanks for your 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