+ Reply to Thread
Results 1 to 4 of 4

Data Validation of exact 2 character list

  1. #1
    Registered User
    Join Date
    03-15-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2013
    Posts
    58

    Data Validation of exact 2 character list

    Hello

    In Data Validation / custom I need a formula that looks for an exact match to an alpha numeric.
    I want the person entering data to only be able to input the following:

    0a 0b 0c 1a 1b 1c 2a 2b 2c 3a 3b 3c

    I can get a formula to partially work but it will also allow a ‘0’ or ‘b’ or ‘1A’ or ‘B’ to be entered. I need a formula that only allows the exact 2 characters to be entered and the letter must be lower case.

    I am happy to use a Data Validation List but the cell needs to stop anyone trying to manually type in the 2 characters and using a capital letter.

    Your help is appreciated.
    Thanks
    Pete

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Data Validation of exact 2 character list

    Doesn't Data Validation do as you need?

    D/V lists are case sensitive.

    Allow:= List
    Source:=
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Use whatever Error message you need.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    03-15-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2013
    Posts
    58

    Re: Data Validation of exact 2 character list

    That's great. Many thanks for the quick reply - works perfectly when the Source is entered as you have done.

    I originally entered the alpha/numeric as a list form in a column. When asked for the source I dragged down the column cells and inserted this range. Doing this worked but allowed me to manually enter an upper case which is what IO wanted to restrict.

    Don't know why as not that good with Excel.

    Really appreciate your fast response, thanks again.

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Data Validation of exact 2 character list

    Happy to have helped ...

+ 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. Data VAlidation - Text Length & Character Type
    By Jim28 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-09-2013, 04:16 AM
  2. Excel 2007 : Data Validation Character Limit
    By Magsy in forum Excel General
    Replies: 3
    Last Post: 09-12-2011, 05:09 PM
  3. data validation to specific character
    By abdulla saeed in forum Excel General
    Replies: 5
    Last Post: 07-06-2011, 07:58 PM
  4. Data Validation - character limit
    By kinobi-kid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-26-2009, 12:32 PM
  5. Data validation to prevent use of a character
    By Rick_Stanich in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-13-2009, 02:19 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