+ Reply to Thread
Results 1 to 8 of 8

Drop Lists - Dependant and returning Unique values only

  1. #1
    Registered User
    Join Date
    05-07-2015
    Location
    Houston
    MS-Off Ver
    2017 preview
    Posts
    4

    Drop Lists - Dependant and returning Unique values only

    Hello,

    I am sure this question is asked many times in many different ways:

    I hava sheet with a table similar to:

    COMPANY CITY
    COMPANY-01 CITY-A
    COMPANY-01 CITY-B
    COMPANY-02 CITY-B
    COMPANY-03 CITY-C
    COMPANY-04 CITY-D
    COMPANY-05 CITY-E
    COMPANY-06 CITY-E
    COMPANY-07 CITY-E
    COMPANY-07 CITY-F
    ECT...

    I would like to make an easy to use form to fill out Company Address's based on Company Selected and if more than one City, City selected per drop down list.

    From what I understand using Tables will allow the data selection to grow/expand as more companies are added to the table.

    I have attached some sample data also to help illustrate what I am trying to do.

    I have tried using INDEX MATCH to return Cities matching Company but only the first City match to company appears in the drop down list.


    thank you!

    Mars
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Drop Lists - Dependant and returning Unique values only

    Like so...
    Attached Files Attached Files
    Last edited by JBeaucaire; 06-04-2015 at 12:45 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    05-07-2015
    Location
    Houston
    MS-Off Ver
    2017 preview
    Posts
    4

    Re: Drop Lists - Dependant and returning Unique values only

    It seems I still have the same problem I came up against once before trying this.

    The drop down list for the Company selection returns only one selection in the xlsx file you attached for download, I have to spend some serious time to figure out why.

    I'll keep playing with this, hopefully learning a thing or two.

    Cheers!

    Mars

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Drop Lists - Dependant and returning Unique values only

    Here's another way.

  5. #5
    Registered User
    Join Date
    05-07-2015
    Location
    Houston
    MS-Off Ver
    2017 preview
    Posts
    4

    Re: Drop Lists - Dependant and returning Unique values only

    Wow, thank you!

    This is pretty much the cheese.

    I certainly will need to study this one, to understand it fully, but does the trick for a static list of Companies/Addresses.

    I remember being able to update the unique list dynamically as a user inserted more company info to the parent table using COUNTIF INDEX/MATCH,

    Thanks A heaps Both of you,

    I thought Spreadsheets would be a cinch compared to database, but I was wrong.

    Cheers!

    Mars

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Drop Lists - Dependant and returning Unique values only

    One small typo in the Named Range "Companies" was fixed in this version.
    Attached Files Attached Files

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Drop Lists - Dependant and returning Unique values only

    @marsofearth

    You are welcome. Glad it does the job.

  8. #8
    Registered User
    Join Date
    05-07-2015
    Location
    Houston
    MS-Off Ver
    2017 preview
    Posts
    4

    Re: Drop Lists - Dependant and returning Unique values only

    Nice!

    Typo fix has it working like a Champ!

    This is great.

    Thank You!

    Mars

+ 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. Multiple Dependant Dropdown lists - need to show unique values only please
    By parsonsamie in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-27-2014, 07:04 PM
  2. [SOLVED] Drop down lists dependant on previous drop down list
    By alexander.small in forum Excel General
    Replies: 6
    Last Post: 05-21-2014, 05:21 AM
  3. Dependant drop-down lists...
    By Jimmy_2_Shoes in forum Excel General
    Replies: 1
    Last Post: 02-21-2014, 11:55 AM
  4. [SOLVED] Dependant drop down lists
    By ormerods in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-25-2013, 04:16 AM
  5. [SOLVED] Returning row data dependant on two drop down lists
    By fimbertil in forum Excel General
    Replies: 5
    Last Post: 04-23-2013, 02:12 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