# Addition of 2 digit numbers in a cell

#### Bub1967

##### New Member
If you have a 2 digit number(i.e., 12) in a particular cell, how can you add those 2 numbers together(as 3 is the result), and insert that total in another cell. Thank you...

### Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

#### VoG

##### Legend
One way

=LEFT(A1,1)+RIGHT(A1,1)

#### Bub1967

##### New Member
Thank you VOG...I will try that!!

#### Bub1967

##### New Member
Tried it.....works great...thanks again!

#### Peter_SSs

##### MrExcel MVP, Moderator
Also, DonkeyOte has suggested a non-volatile formula here

#### bosco_yip

##### Well-known Member
Sum digits (more than one) of a number

=SUMPRODUCT(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))

Regards

#### Peter_SSs

##### MrExcel MVP, Moderator
Sum digits (more than one) of a number

=SUMPRODUCT(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))

Regards
Agreed it works, but this, along with the Microsoft suggestion, is volatile. Would there be a reason to use this over the apparently non-volatile suggestion of DonkeyOte?

Replies
14
Views
372
Replies
1
Views
79
Replies
14
Views
174
Replies
5
Views
167
Replies
5
Views
203

1,129,682
Messages
5,637,764
Members
416,982
Latest member
lisam77

### 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.

### Which adblocker are you using?

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

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