Addition of 2 digit numbers in a cell

Bub1967

New Member
Joined
Jul 14, 2010
Messages
3
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.

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
54,435
Office Version
  1. 365
Platform
  1. Windows
Also, DonkeyOte has suggested a non-volatile formula here
 

bosco_yip

Well-known Member
Joined
Dec 2, 2002
Messages
1,940
Office Version
  1. 2019
Platform
  1. Windows
Sum digits (more than one) of a number

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

Regards
 

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
54,435
Office Version
  1. 365
Platform
  1. Windows
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?
 
Master Excel Bundle

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.

Forum statistics

Threads
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.
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
Top