+ Reply to Thread
Results 1 to 8 of 8

VLookip with Data Validation

  1. #1
    Registered User
    Join Date
    11-05-2013
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    28

    Unhappy VLookip with Data Validation

    Hi,

    Please can anyone help me?

    I'm looking to have a data validation list in 'G18' showing a list of Valve Block Types based on the Manufacturer 'G17'.

    The list of Valve Block Types are detailed in DVI sheet (I13:Q45)

    File attached.


    Kind Regards,
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: VLookip with Data Validation

    When you provide a sample workbook, you need to include your expected results, entered manually. I can't see these.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: VLookip with Data Validation

    Like this?

    Data validation + Array formula (Ctrl+Shift+Enter)
    =IFERROR(INDEX($K$14:$K$113,SMALL(IF($J$14:$J$113=$G$18,ROW($J$14:$J$113)-ROW($J$13)+1),ROWS($J$13:J13))),"")
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-05-2013
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: VLookip with Data Validation

    Hi AliGW

    i am looking for for example, if Cell G17 shows Blain then G18 will show in the dropdown list only the items which contain Blain or if it shows Bucher then it only shows them items. .

    Let me know if you need a screenshot.


    thanks,

  5. #5
    Registered User
    Join Date
    11-05-2013
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: VLookip with Data Validation

    Hi Paul.

    that is perfect. thank you

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: VLookip with Data Validation

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

    EDIT: Thanks for this!

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: VLookip with Data Validation

    What you are looking to do is called "dependent drop down lists" or "dependent data validation lists".

    https://www.excelcampus.com/tables/d...nt-drop-lists/
    This is what I based everything off of.

    I created a new worksheet in your workbook to house all of the DV tables. I then copied and pasted the data in columns J and K from your 'DVI' sheet to the new sheet, removed duplicates, and sorted based on manufacturer. It seems like there are some duplicates in there that you will have to manually remove (e.g. "230vac" vs "230 vac").

    I used the following DV formulas:
    G17 =INDIRECT("Table1[Manufacturer]")
    G18 =OFFSET(Lists!$D$1,MATCH(G17,Lists!$D:$D,0)-1,1,COUNTIF(Lists!$D:$D,G17),1)

    Follow the steps listed in the link above and you will see that you now have a dynamic, dependent drop-down list in G18.

    When you select a manufacturer in G17, the available options in G18 will change accordingly.

    See attachment for clarification.
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: VLookip with Data Validation

    Formula for DV
    Data Validation --> List --> Formula in Source

    Please Login or Register  to view this content.
    Two name Ranges are done, which is necessary as excel version is 2003
    ManufacturersName
    ValveBlock
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 01-14-2018, 11:04 AM
  2. Multi-select from data validation isn't working with auto-assigning data validation
    By iPenguin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-11-2017, 12:37 PM
  3. Replies: 3
    Last Post: 06-04-2015, 02:27 PM
  4. Vlookip to VBA Script
    By Habs21 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-07-2014, 10:19 PM
  5. [SOLVED] To pull multiple data not captured by Vlookip
    By darshu85 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-01-2012, 02:48 PM
  6. Using Defined Names with Data Validation Depend and Data Validation Multi Select
    By Vinnie Chan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-01-2012, 05:36 PM
  7. Excel 2007 : Find and match - Vlookip/Script
    By macpegg in forum Excel General
    Replies: 3
    Last Post: 10-26-2011, 10:24 AM

Tags for this Thread

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