Unexpected rounding issue with Sum of selected cells

ou81aswell

Board Regular
Joined
Oct 6, 2009
Messages
50
I have a column (B) with 113 rows of data in it. B1 is a text cell and contains the name of the column. B2:B113 contain either blanks or dollar values. Sum(B2:B113) is 0.00.

There are 14 blanks, 30 zeros (0.00), 14 negative values and 54 positive values in the column and there are no hidden, blank or phantom rows in the sheet. The non-zero numbers range from -1,600,000.00 to +1,600,000.00. The sheet is in a .XLS workbook.

If I click column letter B, Excel 2010 highlights the entire column and displays the average, count and sum of the highlighted values in Excel's status bar. However, there appears to be a rounding error in that it displays the sum as being -7.27596E-11 instead of 0.00. This is when the entire column is selected.

If I highlight only B2:B113, leaving B1 (the column's name) and B114 and below un-highlighted, it displays the sum correctly as 0.00.

Why would it display a different sum for what should essentially be the same selection?

Thanks
 

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"
Thanks. That thread talks about the rounding differences between Excel's SUM and SUMIF functions.

When displaying the sum of the selected cells in the status bar, does Excel use the SUMIF function if the entire column was selected and the SUM function if only a part of the column was selected? That would explain the behaviour I am seeing.
 
Upvote 0

Forum statistics

Threads
1,214,942
Messages
6,122,366
Members
449,080
Latest member
Armadillos

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