<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Excel 2007 calculation bug displays apparently wrong numbers</title>
	<atom:link href="http://blog.meteorit.co.uk/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.meteorit.co.uk/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/</link>
	<description>the unofficial voice of Meteor IT</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:06:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Adam Vero</title>
		<link>http://blog.meteorit.co.uk/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-3928</link>
		<dc:creator><![CDATA[Adam Vero]]></dc:creator>
		<pubDate>Thu, 18 Aug 2011 16:13:28 +0000</pubDate>
		<guid isPermaLink="false">http://veroblog.wordpress.com/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-3928</guid>
		<description><![CDATA[Katie
What values are actually in the cells you are adding up? If you change the number of decimal places shown in those cells, does it still show .8200000, .9400000 and .3600000? Or is the displayed value slightly different?
If you had, for example, .818, .937 and .355 you would get a SUM of exactly 2.110, but these numbers would look like yours if shown to two decimals only.
If they were a bit higher such as .819, .938 and .357 you would get 2.114 which would show 2.11 if only two decimals are visible.
Hope this helps
Adam]]></description>
		<content:encoded><![CDATA[<p>Katie<br />
What values are actually in the cells you are adding up? If you change the number of decimal places shown in those cells, does it still show .8200000, .9400000 and .3600000? Or is the displayed value slightly different?<br />
If you had, for example, .818, .937 and .355 you would get a SUM of exactly 2.110, but these numbers would look like yours if shown to two decimals only.<br />
If they were a bit higher such as .819, .938 and .357 you would get 2.114 which would show 2.11 if only two decimals are visible.<br />
Hope this helps<br />
Adam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Katie</title>
		<link>http://blog.meteorit.co.uk/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-3927</link>
		<dc:creator><![CDATA[Katie]]></dc:creator>
		<pubDate>Thu, 18 Aug 2011 16:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://veroblog.wordpress.com/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-3927</guid>
		<description><![CDATA[My problem is in simple addition.  If I add a column of numbers using the SUM function, not always, but sometimes it gives the incorrect answer, even allowing for rounding.  Example: if you add these figures .82, .94, .36, you should get something ending with .12.  Not on my spreadsheet.  It shows the answer ends with .11.  A calculator, or a real throwback to pencil and paper, will prove the .11 is absolutely wrong.  A penny may not seem like much, but for what I&#039;m doing, it has to be completely correct.  How do I make it work right - like any third grader could add?]]></description>
		<content:encoded><![CDATA[<p>My problem is in simple addition.  If I add a column of numbers using the SUM function, not always, but sometimes it gives the incorrect answer, even allowing for rounding.  Example: if you add these figures .82, .94, .36, you should get something ending with .12.  Not on my spreadsheet.  It shows the answer ends with .11.  A calculator, or a real throwback to pencil and paper, will prove the .11 is absolutely wrong.  A penny may not seem like much, but for what I&#8217;m doing, it has to be completely correct.  How do I make it work right &#8211; like any third grader could add?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Vero</title>
		<link>http://blog.meteorit.co.uk/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-3286</link>
		<dc:creator><![CDATA[Adam Vero]]></dc:creator>
		<pubDate>Fri, 05 Sep 2008 06:37:45 +0000</pubDate>
		<guid isPermaLink="false">http://veroblog.wordpress.com/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-3286</guid>
		<description><![CDATA[Norm
Can you be a bit more specific about what actual numbers you expected to appear?
It sounds like you simply need to change the number format for those cells to show more decimal places - on the Home Ribbon in the Number group, click on the button with a blue arrow pointing left and &quot;.0&quot; above &quot;.00&quot;. Or just click the comma to get two decimals with commas between the thousands.
If the result in I21 was (say) 12.12 dollars and this was displayed with no decimal places it would show 12. Multiplying by 2 gives 24.24 which would still show 24 if you have no decimals.
Try I25=1000*I21 and see what shakes.
Turn off &quot;Set precision as diaplayed&quot; since that means any cell where you are not showing the full stored value will actually get rounded down to the value it shows, so when you multiply back up again you get weird results. For example:
A1=1234
A2=A1/100 gives 12.34, but if you display this with no decimals it shows 12, even though 12.34 is stored.
A3=A2*100 gives back 1234.
However, if you have &quot;Set precision as displayed&quot; then A2 would actually contain 12, and A3 would show 1200.
There are very few times that this option gives the results you really want, and many more where it confuses matters.]]></description>
		<content:encoded><![CDATA[<p>Norm<br />
Can you be a bit more specific about what actual numbers you expected to appear?<br />
It sounds like you simply need to change the number format for those cells to show more decimal places &#8211; on the Home Ribbon in the Number group, click on the button with a blue arrow pointing left and &#8220;.0&#8243; above &#8220;.00&#8243;. Or just click the comma to get two decimals with commas between the thousands.<br />
If the result in I21 was (say) 12.12 dollars and this was displayed with no decimal places it would show 12. Multiplying by 2 gives 24.24 which would still show 24 if you have no decimals.<br />
Try I25=1000*I21 and see what shakes.<br />
Turn off &#8220;Set precision as diaplayed&#8221; since that means any cell where you are not showing the full stored value will actually get rounded down to the value it shows, so when you multiply back up again you get weird results. For example:<br />
A1=1234<br />
A2=A1/100 gives 12.34, but if you display this with no decimals it shows 12, even though 12.34 is stored.<br />
A3=A2*100 gives back 1234.<br />
However, if you have &#8220;Set precision as displayed&#8221; then A2 would actually contain 12, and A3 would show 1200.<br />
There are very few times that this option gives the results you really want, and many more where it confuses matters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norm</title>
		<link>http://blog.meteorit.co.uk/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-3285</link>
		<dc:creator><![CDATA[Norm]]></dc:creator>
		<pubDate>Thu, 04 Sep 2008 20:00:31 +0000</pubDate>
		<guid isPermaLink="false">http://veroblog.wordpress.com/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-3285</guid>
		<description><![CDATA[I had a cell, I21, that was =(D10*12)-I20 the number was a dollar value. Excel rounded it to the nearest whole dollar for no apparent reason. I tested the idea that the stored information was correct by creating a new cell I25 and making I25 =2*I21 the result was still rounded. I applied the options&gt;advanced&gt; turn on &quot;Set precision as displayed&quot; and it seemed to fix it. I25 is showing the correct value as well. Can someone explain the caveats for the rest of the workbook?]]></description>
		<content:encoded><![CDATA[<p>I had a cell, I21, that was =(D10*12)-I20 the number was a dollar value. Excel rounded it to the nearest whole dollar for no apparent reason. I tested the idea that the stored information was correct by creating a new cell I25 and making I25 =2*I21 the result was still rounded. I applied the options&gt;advanced&gt; turn on &#8220;Set precision as displayed&#8221; and it seemed to fix it. I25 is showing the correct value as well. Can someone explain the caveats for the rest of the workbook?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Vero</title>
		<link>http://blog.meteorit.co.uk/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-3171</link>
		<dc:creator><![CDATA[Adam Vero]]></dc:creator>
		<pubDate>Fri, 27 Jun 2008 18:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://veroblog.wordpress.com/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-3171</guid>
		<description><![CDATA[Unfortunately, Brenda, Excel has a hard-coded limit of 15 significant digits that it will store and use for calculations. The method used for encoding and storing numbers is based on the popular &lt;a href=&quot;http://en.wikipedia.org/wiki/IEEE_floating-point_standard&quot; rel=&quot;nofollow&quot;&gt;IEEE 754-1985 floating point standard&lt;/a&gt;. You can read more about the significant digits and other &lt;a href=&quot;http://office.microsoft.com/en-us/excel/HP100738491033.aspx&quot; rel=&quot;nofollow&quot;&gt;limitations of Excel&lt;/a&gt;, most of which became significantly larger for Excel 2007 (number of rows and columns being particularly well-known, others relating to charts and pivot tables just as valuable but less talked about).
You could import those values as text if they are only for reference. If you need to treat them as numbers for calculations then just about the easiest option you have would be to bring in the data and split it into two fields - for example a &quot;billions&quot; column and &quot;the rest&quot;. This would make calculations much harder to sort out, but might be possible depending on what you need to do. If the results needed more than 15 significant figures you would still lose some accuracy, but at least this would be a small part of the result rather than of several inputs which could compound to a greater variance in the end.]]></description>
		<content:encoded><![CDATA[<p>Unfortunately, Brenda, Excel has a hard-coded limit of 15 significant digits that it will store and use for calculations. The method used for encoding and storing numbers is based on the popular <a href="http://en.wikipedia.org/wiki/IEEE_floating-point_standard" rel="nofollow">IEEE 754-1985 floating point standard</a>. You can read more about the significant digits and other <a href="http://office.microsoft.com/en-us/excel/HP100738491033.aspx" rel="nofollow">limitations of Excel</a>, most of which became significantly larger for Excel 2007 (number of rows and columns being particularly well-known, others relating to charts and pivot tables just as valuable but less talked about).<br />
You could import those values as text if they are only for reference. If you need to treat them as numbers for calculations then just about the easiest option you have would be to bring in the data and split it into two fields &#8211; for example a &#8220;billions&#8221; column and &#8220;the rest&#8221;. This would make calculations much harder to sort out, but might be possible depending on what you need to do. If the results needed more than 15 significant figures you would still lose some accuracy, but at least this would be a small part of the result rather than of several inputs which could compound to a greater variance in the end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brenda ruppert</title>
		<link>http://blog.meteorit.co.uk/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-3170</link>
		<dc:creator><![CDATA[brenda ruppert]]></dc:creator>
		<pubDate>Fri, 27 Jun 2008 18:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://veroblog.wordpress.com/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-3170</guid>
		<description><![CDATA[My problem is not decimals or multiplication.  I import data that has a column of 16-digit numbers, and instead of the number ending in 128 for example, it changes the last 3 digits to 120.  How can I fix this?]]></description>
		<content:encoded><![CDATA[<p>My problem is not decimals or multiplication.  I import data that has a column of 16-digit numbers, and instead of the number ending in 128 for example, it changes the last 3 digits to 120.  How can I fix this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Excel 2007 bug shows wrong answers to simple multiplications &#171; Getting IT Right</title>
		<link>http://blog.meteorit.co.uk/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-159</link>
		<dc:creator><![CDATA[Excel 2007 bug shows wrong answers to simple multiplications &#171; Getting IT Right]]></dc:creator>
		<pubDate>Tue, 02 Oct 2007 14:04:40 +0000</pubDate>
		<guid isPermaLink="false">http://veroblog.wordpress.com/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-159</guid>
		<description><![CDATA[A follow-up to this post with more examples of buggy calculations and information about the propagation of incorrect values can be found here:
http://veroblog.wordpress.com/2007/10/02/excel-2007-bug-shows-wrong-answers-to-simple-multiplications/]]></description>
		<content:encoded><![CDATA[<p>A follow-up to this post with more examples of buggy calculations and information about the propagation of incorrect values can be found here:<br />
<a href="http://veroblog.wordpress.com/2007/10/02/excel-2007-bug-shows-wrong-answers-to-simple-multiplications/" rel="nofollow">http://veroblog.wordpress.com/2007/10/02/excel-2007-bug-shows-wrong-answers-to-simple-multiplications/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Vero</title>
		<link>http://blog.meteorit.co.uk/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-139</link>
		<dc:creator><![CDATA[Adam Vero]]></dc:creator>
		<pubDate>Fri, 28 Sep 2007 06:41:48 +0000</pubDate>
		<guid isPermaLink="false">http://veroblog.wordpress.com/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-139</guid>
		<description><![CDATA[You are right, Joel does have a pretty good explanation of what is going on under the hood if you wish to understand more about binary representations of floating point math.
The only thing he misses is explaining when this so-called display bug becomes an actual wrong value, which is far more dangerous to users.
He also has me looking skywards for falling meteorites - or should that be &lt;a href=&quot;http://www.meteorit.co.uk&quot; rel=&quot;nofollow&quot;&gt;Meteor ITs&lt;/a&gt;?]]></description>
		<content:encoded><![CDATA[<p>You are right, Joel does have a pretty good explanation of what is going on under the hood if you wish to understand more about binary representations of floating point math.<br />
The only thing he misses is explaining when this so-called display bug becomes an actual wrong value, which is far more dangerous to users.<br />
He also has me looking skywards for falling meteorites &#8211; or should that be <a href="http://www.meteorit.co.uk" rel="nofollow">Meteor ITs</a>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: budhie</title>
		<link>http://blog.meteorit.co.uk/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-138</link>
		<dc:creator><![CDATA[budhie]]></dc:creator>
		<pubDate>Fri, 28 Sep 2007 06:36:57 +0000</pubDate>
		<guid isPermaLink="false">http://veroblog.wordpress.com/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-138</guid>
		<description><![CDATA[view http://www.joelonsoftware.com/items/2007/09/26b.html for excel bug explain  :)]]></description>
		<content:encoded><![CDATA[<p>view <a href="http://www.joelonsoftware.com/items/2007/09/26b.html" rel="nofollow">http://www.joelonsoftware.com/items/2007/09/26b.html</a> for excel bug explain  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Vero</title>
		<link>http://blog.meteorit.co.uk/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-137</link>
		<dc:creator><![CDATA[Adam Vero]]></dc:creator>
		<pubDate>Fri, 28 Sep 2007 06:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://veroblog.wordpress.com/2007/09/26/excel-2007-calculation-bug-displays-apparently-wrong-numbers/#comment-137</guid>
		<description><![CDATA[BOBV
If you do B1=A1*1 you &lt;em&gt;should&lt;/em&gt; see 100,000 as there is no change to the value since 1 has a perfect representation in floating point arithmetic and does not cause any rounding of the result to get out of the cycle of the bug. B1 actually contains &lt;em&gt;almost&lt;/em&gt; 65,535 but displays 100,000.
If you use A1+1 you get 100,001 because of the second bug near 65,536. However, A1*2 or A1+2 or A1/2 all give rise to a correct result.

Well done for spotting Paste &gt; Values. This must be using the same process that works for pasting out to non-formatted applications such as Notepad, or exporting to CSV.

As you say, the risk here is that on large spreadsheets this would be impossible to spot by manual checking, although it must be accepted that the actual chances of generating one of these results in reality is extremely small - but not quite small enough for us to take comfort from it.]]></description>
		<content:encoded><![CDATA[<p>BOBV<br />
If you do B1=A1*1 you <em>should</em> see 100,000 as there is no change to the value since 1 has a perfect representation in floating point arithmetic and does not cause any rounding of the result to get out of the cycle of the bug. B1 actually contains <em>almost</em> 65,535 but displays 100,000.<br />
If you use A1+1 you get 100,001 because of the second bug near 65,536. However, A1*2 or A1+2 or A1/2 all give rise to a correct result.</p>
<p>Well done for spotting Paste &gt; Values. This must be using the same process that works for pasting out to non-formatted applications such as Notepad, or exporting to CSV.</p>
<p>As you say, the risk here is that on large spreadsheets this would be impossible to spot by manual checking, although it must be accepted that the actual chances of generating one of these results in reality is extremely small &#8211; but not quite small enough for us to take comfort from it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

