+ Reply to Thread
Results 1 to 5 of 5

How to add digits in a number, till it becomes single digit number

  1. #1
    Registered User
    Join Date
    09-15-2012
    Location
    Ranipet, India
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question How to add digits in a number, till it becomes single digit number

    I need to calculate the sum of digits in a number. The function should keep on adding the digits of each result, till the final sum is a single digit. Please refer to the following example and result expected:-

    Supposed the number entered in Cell J1 is 1234589755

    Result 1 = 1+2+3+4+5+8+9+7+5+5 = 49

    Result 2 = 4+9 = 13

    Final Result required = 1+3 = 4

    Regards
    Ambaji Rao S.

  2. #2
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: How to add digits in a number, till it becomes single digit number

    see if this helps:

    http://www.excelforum.com/excel-gene...ne-number.html
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  3. #3
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: How to add digits in a number, till it becomes single digit number

    Hello
    maybe like this.

    summcontentofcell.xlsx

    Hth
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  4. #4
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: How to add digits in a number, till it becomes single digit number

    Or if you want to go over board with one formula :

    Please Login or Register  to view this content.
    Since 15x9 = 145 and excel can only display 15 digits we just need to sum the digits 3 times to ensure we have a single digit answer!
    Last edited by squiggler47; 09-16-2012 at 09:45 AM.
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: How to add digits in a number, till it becomes single digit number

    I'm not sure that's an improvement over =A1 - FLOOR(A1 - 1, 9), Squiggler.

    =MOD(A1-1, 9) + 1 would work equally well but for a bug in the MOD function (http://support.microsoft.com/kb/119083)
    Entia non sunt multiplicanda sine necessitate

+ 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