Microsoft Excel 2007

Calculation Issue Update

Yesterday we were alerted to an issue in Excel 2007 (and Excel Services 2007) involving calculation of numbers around 65,535. The Excel team would like to provide a description of the issue and explain what we’re doing about it.

Background
Yesterday evening we were alerted to an issue in Excel 2007 (and Excel Services 2007) involving calculation of numbers around 65,535. The first example that we heard about was =77.1*850, but it became clear from our testing as well as additional reports that this was just one instance where Excel 2007 would return a value of 100,000 instead of 65,535. The majority of these additional reports were focused on multiplication (ex. =5.1*12850; =10.2*6425; =20.4*3212.5 ), but our testing showed that this really didn’t have anything do to with multiplication – it manifested itself with many but not all calculations in Excel that should have resulted in 65,535 (=65535*1 and =16383.75*4 worked for instance). Further testing showed a similar phenomenon with 65,536 as well. This issue only exists in Excel 2007, not previous versions.

Google Ads:

The Problem
This issue was introduced when we were making changes to the Excel calculation logic in the Office 2007 time frame. Specifically, Excel incorrectly displays the result of a calculation in 12 very specific cases (outlined below). The key here is that the issue is actually not in the calculation itself (the result of the calculation stored in Excel’s memory is correct), but only in the result that is shown in the sheet. Said another way, =850*77.1 will display an incorrect value, but if you then multiply the result by 2, you will get the correct answer (i.e. if A1 contains “=850*77.1”, and A2 contains “=A1*2”, A2 will return the correct answer of 131,070).

So what, specifically, are the values that cause this display problem? Of the 9.214*10^18 different floating point numbers (floating point on wikipedia) that Excel 2007 can store, there are 6 floating point numbers (using binary representation) between 65534.99999999995 and 65535, and 6 between 65535.99999999995 and 65536 that cause this problem. You can’t actually enter these numbers into Excel directly (since Excel will round to 15 digits on entry), but any calculation returning one of those results will display this issue if the results of the calculation are displayed in a cell. All other calculation results are not affected.

The Solution
We take calculation in Excel very seriously and we do everything we can in order to ensure that calculation is correct for all cases. We’ve come up with a fix for this issue and are in the final phases of a broad test pass in order to ensure that the fix works and doesn’t introduce any additional issues – especially any other calculation issues. This fix then needs to make its way through our official build lab and onto a download site – which we expect to happen very soon. We’ll add another post once that’s taken place with a link to the download.

Related Articles

  • iOS 4.1 Fixes Reception Issue? I dont Think So!iOS 4.1 Fixes Reception Issue? I dont Think So!
    Well, Theres no Confirm if iOS 4.1 which was Released minutes ago to Fix Receptions issue, Theres some people confirms that it Works and at the sam Time some people says nothing Changed and Apple didn...
  • Saurik Showing us a Jailbroken iPhone 4Saurik Showing us a Jailbroken iPhone 4
    Jay Free Man, known as Saurik, who is the creator of Cydia on Jailbroken iPhone. Now he joined the Make It Work team and Showed us a jailbroken iPhone 4, Its a real jailbroken iPhone 4. Also Planetbe...
  • Now You can Manage your Gmail from your Hotmail !Now You can Manage your Gmail from your Hotmail !
    Microsoft has included some extra features to Hotmail. The most exciting feature that you can now send email from your other addresses such as Yahoo and Gmail. Early today, Microsoft announced this ne...
  • AutoRuns for Windows v9.33AutoRuns for Windows v9.33
    Introduction This utility, which has the most comprehensive knowledge of auto-starting locations of any startup monitor, shows you what programs are configured...
  • Twitter Fast Follow Send Users Tweets To Your Phone , No Account neededTwitter Fast Follow Send Users Tweets To Your Phone , No Account needed
    Twitter continues the improvement of its services, we just announced about the twitter official tweet buttons, today twitter just announced a new amzaing features. Weve always been big fans of trusty...
Leave a comment
  • Gerard

    Excellent blog…I’m also a firm believer in Microsoft Excel. It has helped me to gain credibility in work. I have set up a website based on real situations and how microsoft excel is able to provide a fast and effective solution.