+ Reply to Thread
Results 1 to 6 of 6

Data Validation -- Uppercase List

  1. #1
    Registered User
    Join Date
    05-25-2011
    Location
    California, USA
    MS-Off Ver
    Office 2016 on Mac and Windows
    Posts
    57

    Data Validation -- Uppercase List

    In one of my documents, I am using a data validation list to require selection from a pre-defined list. That part is easy enough.

    However, if the user enters a matching value in lower or mixed case, I want the spreadsheet to automatically convert it to uppercase, which is the standard used in the defined list. I don't want to prompt the user with an error if the case is wrong; I'd like this spreadsheet to be smart enough to convert it automatically.

    VBA is not an option on this document; I have to be able to do it with data validation only.

    Is this possible? I've tried combinations of =UPPER(=ListName) in the custom formula field under Data Validation, but I'm not getting it to accept my formula.


    dt

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Data Validation -- Uppercase List

    Why is VBA not an option? That would be the simplest, and I believe only way of achieving what you want.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    05-25-2011
    Location
    California, USA
    MS-Off Ver
    Office 2016 on Mac and Windows
    Posts
    57

    Re: Data Validation -- Uppercase List

    Quote Originally Posted by Richard Buttrey View Post
    Why is VBA not an option? That would be the simplest, and I believe only way of achieving what you want.
    Organization's requirements/limitations, not mine. Is there no way to do this without VBA?

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Data Validation -- Uppercase List

    Quote Originally Posted by dtrimble View Post
    Organization's requirements/limitations, not mine. Is there no way to do this without VBA?
    Not that I know of. The nearest you could do is use an =UPPER(A1) in another cell and use that other cell in any subsequent analysis.
    But just out of interest why does your organisation require that VBA not be used? Why avoid such a powerful tool particularly when it's the only way of achieving what you want.

    Would you also change your location to something meaningful please. We as this for a reason since knowing this we can imply certain standards, like for instance date formats. US posters are odd and have a strange way of expressing dates as mm/dd/yyyy It helps to know this.

  5. #5
    Registered User
    Join Date
    05-25-2011
    Location
    California, USA
    MS-Off Ver
    Office 2016 on Mac and Windows
    Posts
    57

    Re: Data Validation -- Uppercase List

    Quote Originally Posted by Richard Buttrey View Post
    Not that I know of. The nearest you could do is use an =UPPER(A1) in another cell and use that other cell in any subsequent analysis.
    But just out of interest why does your organisation require that VBA not be used? Why avoid such a powerful tool particularly when it's the only way of achieving what you want.

    Would you also change your location to something meaningful please. We as this for a reason since knowing this we can imply certain standards, like for instance date formats. US posters are odd and have a strange way of expressing dates as mm/dd/yyyy It helps to know this.

    The organization considers any use of VBA to be a security risk. I don't get this POV either, but it's what I have to work with.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Data Validation -- Uppercase List

    Hi,

    Without VBA therefore you can't achieve what you want in the way you want.
    The nearest you can probably get is to accept whatever is input and then use =UPPER(A1) to convert afterwards.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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