+ Reply to Thread
Results 1 to 4 of 4

Data validation allows non capitals through, even though not specified in drop-down list

  1. #1
    Registered User
    Join Date
    08-02-2013
    Location
    Bristol
    MS-Off Ver
    Excel 2011
    Posts
    2

    Question Data validation allows non capitals through, even though not specified in drop-down list

    Hi

    My first post on the forums.

    I have created a named range to be used as a source for an in-cell drop down list. The named range consists of 4 values "D"; "E"; "S"; and "T". I have then used that named range as a source list for data validation purposes. But Excel still allows the user to enter the small letter equivalents of these through without displaying the error message.

    From my perspective I am either stuck with having a custom formula as my data validation or potentially allowing an incorrect value by using the drop-down.

    My custom formula would be =AND(COUNTIF(CapitalsOnly,A1),EXACT(UPPER(A1),A1))

    Where CapitalsOnly is the named range as above.

    Am I right that there is no way round this without VBA?

    Thanks for reading.

    b_j

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Data validation allows non capitals through, even though not specified in drop-down li

    Hi,

    Your data validation formula looks perfectly good to me. I tried to recreate it and it prohibited - as expected - the entry of lower case letters.

    If you still can't get it to work, it may be that you need to upload a small sample.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    08-02-2013
    Location
    Bristol
    MS-Off Ver
    Excel 2011
    Posts
    2

    Re: Data validation allows non capitals through, even though not specified in drop-down li

    Thank you for the reply. I don't think I explained myself properly.

    What I am after is to have a data validation type of List and to point it at the CapitalsOnly named range. However, if I do this then the user can not only select D, E, S or T from the list they can also key into the cell directly d, e, s or t and bypass the data validation; i.e. it does not error and allows the small letters through even though they are not in the named list.

    I can get around this using the data validation type of Custom and then using my custom formula, but then I lose the in cell drop-down list.

    It appears I cannot have a drop down list that disallows small letters.

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Data validation allows non capitals through, even though not specified in drop-down li

    Ah, my apologies.

    And I assume that you don't wish to lose the flexibility of having a dynamic source list by typing in a comma-separated delimited list (which is case-sensitive) for your validation?

    If so, then unfortunately you are correct that this is not achievable, at least without VBA, and I trust that someone with a bit more expertise in that area than I will pick up this thread and get back to you.

    Regards

+ 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. Replies: 1
    Last Post: 09-05-2012, 11:39 AM
  2. Data Validation - Drop Down List
    By Chrisb59 in forum Excel General
    Replies: 3
    Last Post: 06-26-2011, 12:48 PM
  3. Drop down list in Data Validation
    By Big Rick in forum Excel General
    Replies: 3
    Last Post: 10-04-2005, 12:05 PM
  4. Replies: 1
    Last Post: 07-08-2005, 11:05 AM
  5. [SOLVED] Symbols in Data Validation List:drop down list
    By marie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2005, 12:05 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