Rounding and applying remainders.

JRL

New Member
Joined
Jan 17, 2013
Messages
18
Hello again!

I want to make an automatic table that looks basically like this....

[TABLE="width: 500"]
<tbody>[TR]
[TD]Beginning total[/TD]
[TD]143.9847[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Full[/TD]
[TD]143[/TD]
[TD]Tenths[/TD]
[TD]9[/TD]
[TD]Hundredths and Below[/TD]
[TD]8.4[/TD]
[/TR]
</tbody>[/TABLE]

Hopefully whatever is entered into the "Begging Total" would automatically be broken into the "Full", "Tenths" and "Hundredths and Bellow" cells respectively.
Nothing in my array should ever have less then a 0.001 value, but if it does it would be nice if it ignored >0.001 as shown in the example, if that is possible.

Thank you in advance.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Assuming your value of 143.9847 is in cell A1, these formulas should return what you need:

Full: =INT(A1)
Tenths: =MID(A1,FIND(".",A1)+1,1)+0
Hundreds and Below: =MID(A1,FIND(".",A1)+2,2)/10
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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