Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: restrict no. of characters

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    34
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Is there a way I can restrict no. of characters in a cell - I have a series of cells I need to restrict user input to 2 caracters, and one to 4 characters.

    Tried it with LEN, but didn't work.

    Thanks

  2. #2
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    84,006
    Post Thanks / Like
    Mentioned
    37 Post(s)
    Tagged
    7 Thread(s)

    Default

    On 2002-05-07 00:55, matthewh wrote:
    Is there a way I can restrict no. of characters in a cell - I have a series of cells I need to restrict user input to 2 caracters, and one to 4 characters.

    Tried it with LEN, but didn't work.

    Thanks
    Have a look at Data|Validation with Text length for Allow.

  3. #3
    Board Regular
    Join Date
    Feb 2002
    Posts
    202
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-05-07 00:55, matthewh wrote:
    Is there a way I can restrict no. of characters in a cell - I have a series of cells I need to restrict user input to 2 caracters, and one to 4 characters.

    Tried it with LEN, but didn't work.

    Thanks
    i think you can do this with data validation (data menu). select 'text length' on the settings tab and less than or equal to 2, or 4 or whatever

  4. #4
    New Member
    Join Date
    Mar 2002
    Posts
    34
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks - I'll give it a try.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •