single / double numbers in cells

youngie

New Member
Joined
Jun 22, 2007
Messages
7
Hi,

Say i have 1-2 numbers in a single cell going across the page for a varied length. What i would like to do is add the 2 numbers together that is in 1 cell.

e,g

1 2 3 44 5 6
1 2 3 8 5 6

hope this makes sense

Thanks

Josh
 

Excel Facts

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

if 37 was typed into cell A1, and you wanted it to add the 3 and the 7 then this should work ...

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

it should work even if there is only a single digit in cell A1
 
Upvote 0
If you want 37 to add up to 1 (i.e. 3+7=10, 1+0=1)
=IF(MOD(A1,9),MOD(A1,9),9)
 
Upvote 0
Thanks jammoca, however it does not seem to work with single numbers in cells - any ideas?

Thanks
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,264
Members
449,075
Latest member
staticfluids

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