+ Reply to Thread
Results 1 to 4 of 4

Help with Dependant Validation

  1. #1
    Registered User
    Join Date
    12-12-2023
    Location
    Houston
    MS-Off Ver
    Office 365
    Posts
    2

    Help with Dependant Validation

    Hello,

    I'm trying to create a data validation list that searches through a table and includes only certain items. The table has a "Role" column, a "Firm" Column, an a "Contact" column. I would want a validation list with "Firm" options that includes all firms in the table for a specific "Role". Then a second dependent validation list that looks at the "Firm" selection and then references the table for all contacts at that firm.

    I've attached a sample excel file that sort of shows what i'm trying to do. Is there a way to do this without a bunch of helper tables and named ranges? ideally it would just be a Filter() statement inside of the data validation formula, but that doesn't seem to work.

    Sample.xlsx
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by notricksnowikipedia; 12-12-2023 at 07:35 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,528

    Re: Help with Dependant Validation

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    12-12-2023
    Location
    Houston
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Help with Dependant Validation

    Sure thing. I edited my original post to include an attachment.
    Last edited by AliGW; 12-13-2023 at 03:19 AM. Reason: Please do NOT quote unnecessarily! Use the QUICK REPLY button instead.

  4. #4
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,372

    Re: Help with Dependant Validation

    In F3 copied down:

    =TRANSPOSE(FILTER($N$3:$N$19,$M$3:$M$19=TRIM(B3)))

    TRIM because you have some trailing spaces in this table.

    You need to have enough columns empty to the right of the table to accommodate the maximum number of results - these columns can be hidden.

    DV rule for C3:C9:

    =F3#

    In D3 copied down:

    =IFERROR(FILTER($O$3:$O$19,($M$3:$M$19=B3)*($N$3:$N$19=C3)),"")
    Attached Files Attached Files
    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.

+ 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. Dependant data validation with dependant default value
    By JamesMeek in forum Excel General
    Replies: 2
    Last Post: 04-08-2013, 10:16 AM
  2. Dependant Data Validation
    By peperammi69 in forum Excel General
    Replies: 1
    Last Post: 03-04-2013, 06:24 AM
  3. [SOLVED] Using Dependant Validation. Show error or blank if Inital Validation Changes
    By marsham in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-20-2013, 04:24 PM
  4. [SOLVED] Reset dependant validation list when the previous validation list is changed.
    By Rimmu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-10-2012, 09:23 AM
  5. Dependant Validation
    By Maraz in forum Excel General
    Replies: 9
    Last Post: 08-03-2009, 05:56 PM
  6. Dependant Validation List
    By einstn&max in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-14-2008, 02:53 PM
  7. Dependant Validation List
    By einstn&max in forum Excel General
    Replies: 2
    Last Post: 08-13-2008, 11:16 AM
  8. Replies: 1
    Last Post: 11-09-2007, 09:18 AM

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