+ Reply to Thread
Results 1 to 4 of 4

Data Validation for limiting user entry

  1. #1
    Registered User
    Join Date
    06-24-2012
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Data Validation for limiting user entry

    Is there a custom data validation that will not allow a user to enter no more than One Capital Letter or one Upper Case String that represents a person First Name and not allow them to follow it with a space and the Middle Initial?
    For example: Tom or J but not Tom D. or JC

  2. #2
    Registered User
    Join Date
    04-13-2012
    Location
    Leeds, UK
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Data Validation for limiting user entry

    Just so I understand, is "TOM" a valid entry? If so, I can't see it being possible: you can't get it to distinguish between "TOM" and "TD".

    You can prevent a space being entered by using this in the Custom data validation:

    =ISERROR(FIND(" ",A1))

    changing A1 to the cell or range being validated.
    Last edited by GazP; 06-24-2012 at 03:30 PM.

  3. #3
    Registered User
    Join Date
    06-24-2012
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Data Validation for limiting user entry

    Great I think your suggested would work well. The cell is Upper case only, first Name, but nothing else, one of my 9 users insists on adding a middle initial but it is totally unnecessary and useless as the middle initial doesn't really serve any purpose. To answer your question TOM is not valid since it is ALL UPPER CASE and I want it to only accept Title or Proper Case.

  4. #4
    Registered User
    Join Date
    06-23-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Data Validation for limiting user entry

    Hi

    You can add the "proper" check to the data validation.

    =AND(ISERROR(FIND(" ",A1)),EXACT(A1,PROPER(A1))=TRUE)=TRUE

    Try and let us know.

+ 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