+ Reply to Thread
Results 1 to 7 of 7

Drop Down List - Indirect

  1. #1
    Forum Contributor
    Join Date
    06-01-2017
    Location
    Santos
    MS-Off Ver
    Office 2016 - Windows 7
    Posts
    105

    Drop Down List - Indirect

    Dears good afternoon

    May I kindly ask if someone can help me regarding the drop down list and the function Indirect.
    I have actually in the "Cover" sheet, two lists.

    The first one is the countries and the second one, is abbreviation of ports
    In a first post a collegue found a solution to filter all sheets through the cover page.
    What I need now is to create a second list depending of the choice on the first list.

    It means :
    If I select Belize I want to see the solution possible for this country in the second list....
    The issue I face is, for some countries the function Indirect is not working. (example : puerto Rico, Trinidad And Tobago...)

    I created on Sheet 2 lists and named it.
    I do not what it is wrong and I am a little bit desperate :D

    Once again if someone can help me, will be grateful.
    Regards
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Drop Down List - Indirect

    It will have issues with any country that contains spaces in the wording.

    Change the formula in the "Source" for the data validation of cell D4 to the formula below in order to switch the spaces for underscores as per your named ranges.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    BSB

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Drop Down List - Indirect

    Hi,

    Or simply replace all your country names on Sheet2 that have a space with an underscore. See the attached. The problem is that "El Salvador" needs to be "El_Salvador" to match.

    Replace Space with Underscore Answer.xlsm
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Contributor
    Join Date
    06-01-2017
    Location
    Santos
    MS-Off Ver
    Office 2016 - Windows 7
    Posts
    105

    Re: Drop Down List - Indirect

    Quote Originally Posted by BadlySpelledBuoy View Post
    It will have issues with any country that contains spaces in the wording.

    Change the formula in the "Source" for the data validation of cell D4 to the formula below in order to switch the spaces for underscores as per your named ranges.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    BSB
    I tried this solution but It did not work.
    May I ask you if you can upload excel file with this formula ?

    Quote Originally Posted by MarvinP View Post
    Hi,

    Or simply replace all your country names on Sheet2 that have a space with an underscore. See the attached. The problem is that "El Salvador" needs to be "El_Salvador" to match.

    Attachment 575474
    Unformtunately, I can put _ in my countries, but I will have to change all countries in each sheet.
    If you check your file, you will see that selecting the country os not ding the autofilter in the other sheets.

    Thank you guys for your help. If you can help me more IŽll be grateful

    Regards

  5. #5
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Drop Down List - Indirect

    Try this...

    BSB
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    06-01-2017
    Location
    Santos
    MS-Off Ver
    Office 2016 - Windows 7
    Posts
    105

    Re: Drop Down List - Indirect

    It works...But I need to understand what the heck you did that I didnŽt do !
    Thanks for your help !!!

    I will try now to figure out, what I did wrong...

    The Only difference I found came from the Name_Range..Now it is working...
    Thanks again for your help !
    Last edited by ozstrik3r69; 05-28-2018 at 12:56 PM.

  7. #7
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Drop Down List - Indirect

    I think it's because you're on a Mac and so you need ; rather than ,

    Glad I could help

    BSB

+ 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. Getting Drop Down to Start at Top of List with Indirect using Data Validation
    By MayBTheresHope in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-20-2016, 04:07 PM
  2. [SOLVED] Finding a value based on a drop down list value obtained by an =INDIRECT formula
    By Udaman in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-09-2016, 04:59 PM
  3. [SOLVED] Help creating dependant drop-down list NOT using INDIRECT
    By Bleached Lizard in forum Excel General
    Replies: 3
    Last Post: 07-03-2014, 11:55 AM
  4. Indirect drop down list not working
    By Narelles in forum Excel General
    Replies: 3
    Last Post: 12-18-2013, 09:16 PM
  5. [SOLVED] Indirect Drop down List hyperlink
    By Supra2JZ in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-23-2013, 06:04 AM
  6. Indirect Function - drop down starts at end of list
    By specialfx in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 04-17-2013, 11:16 AM
  7. Populate Drop-down list based on selection from previous drop-down list
    By poison_stone in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-11-2012, 06:10 PM

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