+ Reply to Thread
Results 1 to 3 of 3

Data Validation to force Uppercase and From List only Text

  1. #1
    Forum Contributor
    Join Date
    08-08-2019
    Location
    CO
    MS-Off Ver
    Office 365
    Posts
    106

    Data Validation to force Uppercase and From List only Text

    Hello all,

    I am looking for a formula that will restrict any values in a cell to UPPERCASE as well as a predefined list of cells only. This list is limited to "FS, TS, DS, LA" for the entries. Part of the formula I have works, but I cannot seem to get it to function 100%.

    Please Login or Register  to view this content.
    So when I test this it lets me enter in the FS and TS (the first 2 on the list - AY14 and AY15) perfectly and in uppercase only. When entering the last 2 on the list (DS and LA - AY16 and AY17) I get an error "This value doesn't match the data validation restrictions defined in this cell". Can someone help tell me where the error lies in my code? Thanks in advance.

  2. #2
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    484

    Re: Data Validation to force Uppercase and From List only Text

    Try

    =EXACT(B13,VLOOKUP(B13,AY14:AY17,1,0))

  3. #3
    Forum Contributor
    Join Date
    08-08-2019
    Location
    CO
    MS-Off Ver
    Office 365
    Posts
    106

    Re: Data Validation to force Uppercase and From List only Text

    That did it. Thank you!!

+ 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. [SOLVED] Force text string in uppercase
    By hkbhansali in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-16-2016, 08:44 AM
  2. force a text in Uppercase and continue auto correct option
    By HaroonSid in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2014, 09:18 AM
  3. force a text in Uppercase and continue auto correct option
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-06-2014, 09:14 AM
  4. Data Validation -- Uppercase List
    By dtrimble in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-13-2012, 12:30 PM
  5. Force text to Uppercase in active cells
    By Spellbound in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 02-14-2009, 06:52 PM
  6. force input data to be uppercase
    By 435 Gavea in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-16-2007, 10:13 AM
  7. how to force uppercase
    By Ryan in forum Excel General
    Replies: 2
    Last Post: 11-09-2005, 09:48 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