+ Reply to Thread
Results 1 to 6 of 6

Dependent dropdownlist error

  1. #1
    Registered User
    Join Date
    02-28-2015
    Location
    jakarta
    MS-Off Ver
    2010
    Posts
    2

    Dependent dropdownlist error

    Dear All,

    First of all I want to say hello everybody, my name Istanto . Currently I 'm starting to learn to deepen the use of MS Excel application to support the activities of my daily work.
    But I have a problem related to the use of " Dependent Dropdown list" , which I created dropdownlist with the data validation method (indirect function) with the list name.
    But when I make a define name is numeric ( eg 07 ) dependent dropdownlist can not work and appear popups ... .

    data vaildation.pngpopup error.png
    Dependent dropdownlist - belajarexcel.info.xlsx

    Where cell M6 should contain the list : ME , IE , BG , IT , AD , PL , EN , DC , TC , WS
    How do to fix for above case?

    Best Regards,
    Istanto

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Dependent dropdownlist error

    Hi, welcome to the forum

    1st, I suggest you remove all those spaces in middle of your data (or use them all oover
    2nd I used this for the DV rule...
    =INDIRECT("_"&$J$6)
    Note that your range name starts with an underscore _ so your DV must return that
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Dependent dropdownlist error

    That maybe because, when you create a name with a name like 07, it gets stored as _07..

    Press Ctrl+F3 and observe your defined name.. You might get the issue
    Cheers!
    Deep Dave

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Dependent dropdownlist error

    DataValidation treats M6="ME , IE , BG , IT , AD , PL , EN , DC , TC , WS" as one item in list

    The Solution should be:

    M6="ME"
    M7="IE"
    ...
    M15="WS"

    then use the range M6:M15 as Source for DataValidation
    Quang PT

  5. #5
    Registered User
    Join Date
    02-28-2015
    Location
    jakarta
    MS-Off Ver
    2010
    Posts
    2

    Talking Re: Dependent dropdownlist error

    Hi @FDibbins, that's awesome ...., GREAAAAT!
    Thanks very much. It's work perfectly as I need.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Dependent dropdownlist error

    Happy to help, thanks for the feedback

+ 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. VBA code error for userform dependent combobox
    By Jonno1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-29-2014, 01:35 PM
  2. HELP Dependent DropDownList Cat,sub,subsub validations
    By JanniekKuenen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-04-2013, 06:27 AM
  3. Replies: 1
    Last Post: 11-29-2012, 09:58 AM
  4. Dependent Validation Generates an Error
    By sys_daw in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-20-2009, 12:12 PM
  5. Dependent List (via Data Validation) Error
    By Dezdan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-01-2005, 08:35 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