+ Reply to Thread
Results 1 to 3 of 3

Data Validation Formula with 2 Letter Option

  1. #1
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Data Validation Formula with 2 Letter Option

    Good Morning,

    I have this formula in Data validation, however now they want to change it so the user can enter "E" or "C" How can I change the current formula below to take either E or C? as it is now it only takes "E"

    Here is what I have now.

    Please Login or Register  to view this content.
    Thanks for the help,

    Mike
    Last edited by realniceguy5000; 08-09-2010 at 11:54 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Data Validation Formula with 2 Letter Option

    Perhaps:

    =LEN(SUBSTITUTE(SUBSTITUTE(UPPER(B5),"E",""),"C",""))=0

  3. #3
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: Data Validation Formula with 2 Letter Option

    Thank You, Works Great!!!

    Mike

+ 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