Consulting

Results 1 to 8 of 8

Thread: Data Input Restrictions

  1. #1

    Data Input Restrictions

    Hi All,

    It is possible to restrict each cell only having 40 charcters to enter in Excel.

    Please help on this.

    very new to this area.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Look at Data Validation.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Hi i guess i tried one of your solution but no luck ...
    =AND(ISNUMBER(E1),LEN(E1)=10)

    iam very new to this even dont know how use this..

    i tried Use Data>Validation with a type of Custom, and a formula of
    and press ok still able to enter 13 charter in a column.

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    DV has a Text Length type, you can use that.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    can any body help on this.. still iam unable to do this.

  6. #6
    Hi My requirement was .. data validation needs to be check in all the cells should have only 40 charcters if it is more than 40 charcters it should shown as a different colour in the cell... please help on this.

  7. #7
    i was trying to validate an existing excel it has each cell has more then 40 charcters and i need to validate this for 40 charcters then the other charcters need to show as a different color.

  8. #8
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location
    Data -> Validation -> Text Length -> Less Than or Equal To -> 40

    Then either copy that down using paste special or use the format painter, your choice

    or using Conditional Formatting

    Select A1:A100 range and enter =LEN(A1)>15 in CF formula field and select a background color!
    Peace of mind is found in some of the strangest places.

Posting Permissions

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