Number check
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Number check

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

    Default

     
    Hello,

    I want have to enter a 8 digit number in a cell. How can i make Excel check this. For example if by mistake only enter 7 numbers.

    Thanks

  2. #2
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,791
    Post Thanks / Like
    Mentioned
    12 Post(s)
    Tagged
    1 Thread(s)

    Default

      
    On 2002-02-18 22:47, ZBH wrote:
    Hello,

    I want have to enter a 8 digit number in a cell. How can i make Excel check this. For example if by mistake only enter 7 numbers.

    Thanks
    =ISNUMBER(A1)*(LEN(A1)=8)

    or

    =ISNUMBER(A1+0)*(LEN(A1)=8) [ if you're entering the number as text ]

    You can use this formula, if so desired, in data validation that you can setup in cell A1.

    [ This Message was edited by: Aladin Akyurek on 2002-02-18 22:56 ]

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
  •  

 

 
DMCA.com