+ Reply to Thread
Results 1 to 12 of 12

Google Sheets: Sum each digit in Cell to Double and Single Digit

  1. #1
    Registered User
    Join Date
    12-23-2019
    Location
    India
    MS-Off Ver
    Office 16
    Posts
    9

    Google Sheets: Sum each digit in Cell to Double and Single Digit

    Requesting Excel formula help from Experts for adding all digits (including digits after decimal point) to a double digit figure & then to a single digit figure

    For example :
    High cell value is 1561.95; Outcome : 1+5+6+1+9+5 = 27 (two digit SUM in one cell) & 2+7 = 9 -> the two digits answer converted to a SINGLE digit in adjacent cell
    Low Cell Value is 7277.65; Outcome : 7+2+7+7+6+5 = 34 (two digit sum in one cell) & 3+4 = 7 in adjacent cell (converted to SINGLE Digit total)

    Attaching the Excel Sheet for reference

    Please note:
    A) Sample figures mentioned herein. Requesting help for
    1) Col C values - to be converted to double digit in Col F & then to Single Digit in Col G (for HIGH value) and
    2) Col D values - to be converted to double digit in Col H & then to Single Digit in Col I (for LOW Value)
    B) Comments mentioned in col J (what I have tried to mention above)
    C) Have mentioned the expected output in Col F, G, H & I (for reference please)

    Thanking you in advance

    Warm Regards-RB
    Last edited by AliGW; 12-24-2019 at 01:47 AM.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Sum each digit in Cell to Double and Single Digit

    Try these regular formulas, copied down:

    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    12-23-2019
    Location
    India
    MS-Off Ver
    Office 16
    Posts
    9

    Re: Sum each digit in Cell to Double and Single Digit

    Dear Ron
    Thanks a lot for the solution. It worked beautifully in Excel.
    Just one problem, the same did not work in Google Excel Sheet. Any specific reason ?

    Warm Regards-RB

    Attachment 655162Attachment 655163

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,421

    Re: Sum each digit in Cell to Double and Single Digit

    You did not tell us this was about Google Sheets - there's an appropriate forum section for this, so I am moving your thread.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Google Sheets: Sum each digit in Cell to Double and Single Digit

    Another way:

    For the Highs
    In F2
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In G2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    For the Lows use the same formulas with the Low cell references.
    Dave

  6. #6
    Registered User
    Join Date
    12-23-2019
    Location
    India
    MS-Off Ver
    Office 16
    Posts
    9

    Re: Sum each digit in Cell to Double and Single Digit

    Dear Ali
    I want the details in excel only - but due to some problems in the backend software, am temporarily working in Google Docs.
    Actually, this is the data from LIVE Stock markets and Google Docs doesn't work Real Time in all scrips and also there is a limitation on the number of hits/Refresh per day and hence using Google Docs as a stop gap arrangement
    Anyways, thanks for update.
    Request the link where this thread is shifted.

    Warm Regards-RB

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,421

    Re: Google Sheets: Sum each digit in Cell to Double and Single Digit

    The thread has been moved - you don't need a link (you are there already).

  8. #8
    Registered User
    Join Date
    12-23-2019
    Location
    India
    MS-Off Ver
    Office 16
    Posts
    9

    Re: Google Sheets: Sum each digit in Cell to Double and Single Digit

    Dear Flame
    Thanks for revert. Heartily appreciate your prompt revert. Have got the solution in one of the earlier post (shown in the first table in the attached PNG File).
    Tried your formula also - wherein something is not correct and the output is incorrect (as shown in the second table in the attached PNG file)
    Attaching the screenshot - for your reference.


    Thanks once again

    Warm Regards-RB
    Attachment 655166
    Last edited by AliGW; 12-24-2019 at 02:11 AM. Reason: Please don't quote unnecessarily!

  9. #9
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Google Sheets: Sum each digit in Cell to Double and Single Digit

    You are welcome.

    PNG files (pictures) aren't usually much help. I just know the formulas work at my end. Without an actual workbook upload demonstrating the short-comings I can not advise or derive instruction myself. (Yeah. I learn from these threads, too. )

    Anyway I have time on my hands this afternoon and I found this challenge intriguing. Here are some new formulas applied to your upload.

    In F2:F5
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I noticed that both Ron's and mine return 10 in cell G5. That's not what you wanted. This returns the desired 1. In G2:G5
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In H2:H5
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In I2:I5
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by FlameRetired; 12-24-2019 at 06:04 PM. Reason: thank you and after thoughts

  10. #10
    Registered User
    Join Date
    12-23-2019
    Location
    India
    MS-Off Ver
    Office 16
    Posts
    9

    Re: Google Sheets: Sum each digit in Cell to Double and Single Digit

    Quote Originally Posted by FlameRetired View Post
    You are welcome.

    PNG files (pictures) aren't usually much help. I just know the formulas work at my end. Without an actual workbook upload demonstrating the short-comings I can not advise or derive instruction myself. (Yeah. I learn from these threads, too. )

    Anyway I have time on my hands this afternoon and I found this challenge intriguing. Here are some new formulas applied to your upload.

    In F2:F5
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I noticed that both Ron's and mine return 10 in cell G5. That's not what you wanted. This returns the desired 1. In G2:G5
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In H2:H5
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In I2:I5
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thanks a tonne Flame. Really appreciate you taking time to revert to my query

  11. #11
    Registered User
    Join Date
    12-23-2019
    Location
    India
    MS-Off Ver
    Office 16
    Posts
    9

    Re: Google Sheets: Sum each digit in Cell to Double and Single Digit

    Can someone help me with similar formula for Google Sheet please?
    Above given reverts by Experts have resolved my Excel Requirement. But still fighting out for the same in Google Docs please

  12. #12
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Google Sheets: Sum each digit in Cell to Double and Single Digit

    Just wrap the given formulas in =ARRAYFORMULA(...)
    Rory

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Color a single digit in a mult-digit number cell
    By Phyllis in forum Excel General
    Replies: 8
    Last Post: 09-30-2022, 04:22 PM
  2. [SOLVED] How to subtract single cells with double digits into a single digit of a single cell.
    By greenfox74 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-11-2021, 02:05 AM
  3. [SOLVED] Macro Recognizes Single Digit Month (ex: Jun = 6) But Not Double Digit Month (Nov = 11) ??
    By Logit in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-19-2019, 04:04 PM
  4. [SOLVED] Macro to convert WBS single digit numbers to double digit numbers
    By LeanAccountant in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 06-09-2018, 05:25 AM
  5. IF(ISNUMBER(SEARCH single and double digit numbers
    By marie branigan in forum Excel General
    Replies: 5
    Last Post: 09-16-2015, 06:08 PM
  6. [SOLVED] LOTTERY FILTER#4, Find if 1 Digit Sum of 2 Digit or 3 Digit, Single Cell w/ dash
    By david gonzalez in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2014, 12:57 AM
  7. [SOLVED] Single cell - double digit subtraction???
    By greenfox74 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-09-2012, 12:30 AM

Tags for this Thread

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