Sum Total Value of a Single Cell

JulianvO

New Member
Joined
Sep 9, 2022
Messages
29
Office Version
  1. 2021
Platform
  1. Windows
Greetings

Cell - A1 To contain formula

Cell - A2 To Display result of value entered into Cell A3

Cell - A3 Cell in which a numeric value is entered.

Formula must be-able to the sum total of the value entered into A3 and display the result in A2.

Example of Value entered into A3 1024 (No commas. spaces or plus signs. Just the number)

Sum total to be displayed in A2 must be 7 (1+0+2+4 = 7)

Example of Value entered into A3 123456789 (No commas. spaces or plus signs. Just the number)

Sum total to be displayed in A2 must be 45 (1+2+3+4+5+6+7+8+9=45)

Thanks
 
If you place the formula in A1, the sum of the digits should appear in cell A1. Could you copy the formula from cell A1 and post it here, please?
 
Upvote 0

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
@JulianvO please stop making posts that contain nothing but a quote. Thanks
If you want to refer to a specific person you can mention them, as I have at the start of this post.
 
Upvote 0
Greetings

I entered the number in A2, and when nothing happened, I entered the number into A3, after deleting the number in A2.
 
Upvote 0
@JulianvO please STOP making posts with nothing but a quote, I have once again deleted it.
 
Upvote 0
There is no formula in your post.
 
Upvote 0
Greetings Fluff

=SUM(0+MID(A3,ROW($A$1:INDEX($A:$A,LEN(A3))),1))

I placed the above formula into A1. Entered a number into A2 and pressed enter- Nothing but the number I entered. Deleted the number in A2.

I entered the number into A3 and pressed enter- Nothing but the number I entered in A3

Obviously, I am missing something

Thanks
 
Upvote 0
I am not understanding the issue:
MrExcel_20220909.xlsx
A
136
2
312345678
Sheet4 (2)
Cell Formulas
RangeFormula
A1A1=SUM(0+MID(A3,ROW($A$1:INDEX($A:$A,LEN(A3))),1))

...seems to work fine. Could you post a snapshot of your worksheet using the XL2BB add-in?
 
Upvote 0

Forum statistics

Threads
1,224,869
Messages
6,181,485
Members
453,046
Latest member
Excelvbaexpert

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top