+ Reply to Thread
Results 1 to 4 of 4

split numbers

  1. #1
    Registered User
    Join Date
    04-26-2007
    Posts
    1

    split numbers

    i have to create a number from a 18 digit number the math is simple and so is getting the result this is how i do it
    i have a 18 digit number like this
    982613530890001448
    then i split the number like this using the text to columns command in excel
    so i get this result in many columns
    9 8 2 6 1 3 5 3 0 8 9 0 0 0 1 4 4 8
    then i have to multiply every second number by 2 like this
    8*2 6*2 3*2 3*2 8*2 0*2 0*2 4*2 8*2
    this gives me this result
    16 12 6 6 16 0 0 8 16
    then i split each one these numbers into two like this
    1 6 1 2 6 6 1 6 0 0 8 1 6
    then i add all these numbers together and the remaining numbers that havent been doubled together to get a figure like 76 then round up to nearest ten then subtract 76 from 80 to get my final figure then i have a nineteendigit number like this
    9826135308900014485 4
    this is the number i need i can do it in one field using data i input but how can i doit over multiple fields so that i can copy the last seven digits from a excel spreadsheet into this one and create a list of numbers including the last figure using my unique formula

    please help me

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    I've managed to get this far.

    Please Login or Register  to view this content.
    I get 24 for the split numbers + 40 for the remaining numbers - total 64 not 76?

    Please Login or Register  to view this content.
    How do you get this?

    Please Login or Register  to view this content.
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    Excel stored number to an accuracy of 15 didgets. If you want to deal with nineteen didgit numbers, you'l have to work with numerals (strings) rather than with numbers.

  4. #4
    Registered User
    Join Date
    04-27-2007
    Location
    India
    Posts
    3
    Use MID function, instead of text to columns to separate it (you need to enter 19 (or as the case may be) times to get the result and you can individually put nested formulae in the functions. Forward the sheet, if you want to have the exact solution.

+ 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