Sum towards single digit

ramananhrm

Board Regular
Joined
Apr 19, 2011
Messages
156
Hi,

I have a query on the sum within the cell towards single digit.

The cell A1 has a value eg '756456455'.

I have used with three steps:
1. =SUMPRODUCT(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)) gives 47
2. =SUMPRODUCT(--MID(B1,ROW(INDIRECT("1:"&LEN(B1))),1)) gives 11
3. =SUMPRODUCT(--MID(C1,ROW(INDIRECT("1:"&LEN(C1))),1)) gives 2

How do we cut down to a single step which gives a final answer for '756456455' as 2

Please help me out
 

Some videos you may like

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,884
Hi Ramanan

For an interger bigger than 0, try:

=MOD(A1-1,9)+1
 

Watch MrExcel Video

Forum statistics

Threads
1,123,488
Messages
5,601,974
Members
414,487
Latest member
inxlsplot

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