+ Reply to Thread
Results 1 to 4 of 4

Dynamic Validation List from DB Like Table

  1. #1
    Registered User
    Join Date
    04-10-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2016
    Posts
    2

    Unhappy Dynamic Validation List from DB Like Table

    Hi,

    Trying to get a dynamic validation list (see field 2 below) without using INDIRECT function due to the large volume of the data (which would be impractical) which is structured similarly like below:

    Column A | Column B
    Place A | User A
    Place A | User B
    Place A | User C
    Place B | User B
    Place B | User D
    Place C | User A

    Field 1 : Validation list of unique items from column A (solved)
    Field 2 : Validation list of all users located from the value selected from field 1.

    So far, all my research always points to using the INDIRECT function.

  2. #2
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: Dynamic Validation List from DB Like Table

    kamusta codewalk3r?

    You can try this formula in your 2nd validation:

    =OFFSET(LIST2,MATCH($D$1,OFFSET(LIST2,0,-1,COUNTA(B:B)),0)-1,0,COUNTIF(OFFSET(LIST2,0,-1,COUNTA(B:B),1),D1),1)

    I used named ranges on your 2nd list and this formula assumes your entire lis on the same sheet. if not you can always revert to using named ranges.
    If I've helped U pls click on d *Add Reputation

  3. #3
    Registered User
    Join Date
    04-10-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2016
    Posts
    2

    Re: Dynamic Validation List from DB Like Table

    Salamat!

    Upon testing it, the list has numerous duplicates. Can the dups be removed when the list is generated?

  4. #4
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: Dynamic Validation List from DB Like Table

    Of course. That depends on how your validation list is setup.

+ 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. Dynamic validation list
    By nymm in forum Excel General
    Replies: 2
    Last Post: 10-17-2014, 06:53 AM
  2. [SOLVED] Data Validation List to Return Variable/Dynamic Data based on Reference Table
    By dilbert1865 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-13-2014, 09:08 AM
  3. Dynamic validation list
    By Doxa in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-22-2014, 05:51 AM
  4. Replies: 0
    Last Post: 04-15-2013, 09:22 AM
  5. Dynamic Validation List name
    By Ekser in forum Excel General
    Replies: 9
    Last Post: 11-08-2010, 11:36 AM
  6. [SOLVED] Changing named Validation list to Dynamic list.
    By GlenC in forum Excel General
    Replies: 1
    Last Post: 07-20-2006, 06:55 PM
  7. Dynamic validation list
    By stabilo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-04-2005, 11:05 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