stupid question in excel

stuart harbour

New Member
Joined
Sep 1, 2011
Messages
3
I was hoping I could attach my simple spreadsheet but it looks like that is not how this works. Anyway, I have 5 dollar and cents amounts added together in one row and five added together in another row. All numbers were keyed in by hand and include dollars and cents. (2 decimal points). When I subtract the smaller sum from the larger sum, the answer should be 75,946.78 Excel is returning the number I copied in below. I have checked every number by expanding the decimal out very far and they are all zero after the second number behind the decimal point. what is going on?? Any ideas?

<table width="225" border="0" cellpadding="0" cellspacing="0"><col width="225"><tr height="17"> <td class="xl65" style="height:12.55pt;width:168pt" width="225" height="17"> 2,527,588.2700000000000000 </td> </tr></table>less
<table width="225" border="0" cellpadding="0" cellspacing="0"><col width="225"><tr height="17"> <td class="xl65" style="height:12.55pt;width:168pt" width="225" height="17"> 2,451,641.490000000000000000 </td> </tr></table>
<table width="203" border="0" cellpadding="0" cellspacing="0"><col width="203"><tr height="17"> <td class="xl63" style="height:12.55pt;width:152pt" width="203" height="17"> 75,946.77999999980000 </td> </tr></table>
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Welcome to the board.

Base 10 decimals like 0.1 can't be stored exactly in the binary floating point format your computer uses, just like 1/3 is the repeating decimal 0.333...

Use ROUND to return the result to the nearest penny.
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,881
Members
452,948
Latest member
Dupuhini

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