# 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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

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

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,565
Messages
5,838,135
Members
430,530
Latest member
sonofagunn123

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