Subtracting Numbers in Increments and Summing Question

MXL

Board Regular
Joined
Jun 15, 2010
Messages
67
hi,

i wanted to know if i can extract numbers by 10, then sum up how many times by 10 into a whole number. The table illustrates below.

AB
11210
29
34340
4134130
58

<tbody>
</tbody>

I would like to know in column B, i want to extract numbers by 10, so in A1, 10 can go into 12 once, so in column B1 it should show 10, column B2 would show nothing because 10 does not go into 9, column B3 would show 40 because 10 goes into 43 four times, column B4 would show 130 because 10 goes into 134 thirteen times, and column B5 would show nothing because 10 cannot go into 8.

Is there a formula i can use in column B that could calculate how many times 10 goes into that number then sum it up into a whole number as shown in column B??

thank you for taking the time to read this, much appreciated, look forward to hearing from you.

regards,

vlad
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
=int(a1/10)*10

or

=ROUNDDOWN(A1,-1)
 
Last edited:
Upvote 0
Hi,

D1 =IF(A1>=10,MROUND(A1,10),"")
C1 ==IF(A1>=10,INT(A1/10),"")

ABCD
11210110
29
34340440
413413013130
58

<colgroup><col width="70" span="5" style="width:52pt"> </colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,014
Messages
6,122,697
Members
449,092
Latest member
snoom82

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