+ Reply to Thread
Results 1 to 4 of 4

Converting a 12-digit number to a 10-digit number

  1. #1
    Registered User
    Join Date
    04-29-2005
    Posts
    2

    Question Converting a 12-digit number to a 10-digit number

    Is there a formula available that I could enter in a cell that would then allow me to scan in a 12 digit number into that cell and have the formula drop the first and last digits so that I'm left with a 10-digit number?

    The first digit is always a 1. The last digit is random. I just need some method of getting the middle 10 digits to show in the cell...

    Any help would be greatly appreciated.

    Thanks,
    Peanut

  2. #2
    Registered User
    Join Date
    03-25-2005
    Posts
    23
    use the MID function. If your number is in cell A1, then enter this formula in cell B1:

    =MID(A1,2,10)

  3. #3
    Registered User
    Join Date
    03-25-2005
    Posts
    23
    Use this function to make it be a number again (the previous furmula would return the result as text.

    =VALUE(MID(A1,2,10))

  4. #4
    Registered User
    Join Date
    04-29-2005
    Posts
    2

    Thank You !!!!

    Thanks DaveyDave.... Just what I was looking for....

+ 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