ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Adding Decimals (https://www.excelbanter.com/excel-discussion-misc-queries/94831-adding-decimals.html)

Michael Brown

Adding Decimals
 
How do I add just decimals together? I want to take a number like 8.46 and
9.55 and add only the 46 and 55 together.

Nick Hodge

Adding Decimals
 
Michael

If they're in A1 and A2

=MOD(A1,1)+MOD(A2,1)

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"Michael Brown" wrote in message
...
How do I add just decimals together? I want to take a number like 8.46 and
9.55 and add only the 46 and 55 together.




Harald Staff

Adding Decimals
 
=MOD(8.46,1)+MOD(9.55,1)

HTH. Best wishes Harald

"Michael Brown" skrev i melding
...
How do I add just decimals together? I want to take a number like 8.46 and
9.55 and add only the 46 and 55 together.




Nikki

Adding Decimals
 
do you only have two decimals all the time, if so:
if a1 8.46
a2 9.55

use =right(a1,2)+right(a2,2)

if you have more than two decimal use

=RIGHT(a1,LEN(a1)-SEARCH(".",a1,1))+RIGHT(a2,LEN(a2)-SEARCH(".",a2,1))

"Michael Brown" wrote:

How do I add just decimals together? I want to take a number like 8.46 and
9.55 and add only the 46 and 55 together.



All times are GMT +1. The time now is 08:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com