Thursday, August 25, 2016

How Can You Fix - Bug in fact function Excel?

Bug in fact function Excel

Math wise : N!/N - (N-1)! should equal 0.
 
If I use excel : it is zero except for the following numbers
Using Formula :   =(fact(a3)/a3)-fact(a3-1)

49    1,1418E+46
91    1,3221E+123
111    1,6196E+163
120    6,6392E+181
134    2,1041E+211
144    5,5891E+232
165    -5,6725E+278
I tested it in Excel 2000 / 2003 / 2007 and they all go wrong
If I use Opensource like Open Office they do not have this problem.
If I calculate the faculty in excel by plain old multiplying and do the math it also always gives me 0 as result.
I googled and found no other references to this issue.
Any Idea why this should happen ?

Anwsers to the Problem Bug in fact function Excel

Download Error Fixer for Free Now

And the plot thickens: Type 49 in A3 and your formula in B3.
Use Formula| Formula Auditing | Evaluate Formula as you expand the formula you get two identical numbers 1.24139155925361E+61but the final step gives the incorrect value.
Computing each term in separate cells (C3 = fact(A3)/a3 and D3 =fact(a3-1)) and E3 = C3=D3 gives TRUE so the problem is not a round-off error.
If I change your formula to =(fact(a3)/a3) = fact(a3-1), I get TRUE even with 49, 111, etc.
If you select B3 and then highlight the first half of the formula then press F9 and repeat the process with the second term you get =1.24139155925361E+61-1.24139155925361E+61 which displays as zero (as expected)
So we do have a wonderful mystery for the Excel Development team!
 
 

Bernard Liengme, Nova Scotia, Canada http://people.stfx.ca/bliengme/

Windows Restore - Totally Fix All Errors including Bug in fact function Excel

  • Click on the Start button on the Taskbar.
  • Type "System Restore" (without quotes) in the Search box and hit Enter or,
  • Click on System Restore (when you see System Restore pop up  in the list of search results).
  • Make sure the "Recommended restore" radio button is checked on the restore utility window.
  • Click on Next and follow the instructions given.

Note: There is the option on the restore utility to select "Choose a different restore point". Unless you have a specific reason to select a different date and time than what Windows recommends, just select the recommended option stated in the steps above. If you choose to select another one, follow these steps:

Click on that desired date and time, and Windows 7 will perform a scan for any affected programs in that restore point.

Once completed, click Next and follow the instructions given.

Once you have selected the restore point, your system will start the restoring process, after which you will have to restart the system.

Another Safe way to Fix the Problem: Bug in fact function Excel:

How to Fix Bug in fact function Excel with SmartPCFixer?

1. Click the button to download Error Fixer . Install it on your computer.  Open it, and it will scan your system. The errors will be shown in the scan result.

2. After the scan is done, you can see the errors and problems need to be fixed. Click Fix All.

3. When the Fixing part is done, your computer has been speeded up and the errors have been removed


Related: How to Download Toshiba Portege R500 HDD/SSD Alert Utility v.2.2.0.0 driver,Way to Update & Download Toshiba Satellite A355-S69403 Motorola Modem Region Select Utility v.2.2.3.0 driver,Where to Download Toshiba Satellite L305-S5926 HW Setup Utility v.2.00.11 driver,[Solved] Download Toshiba Satellite L675-S7115 Laptop Checkup v.2.0.6.22 driver,Method to Download Toshiba Satellite M645-S4080 Media Controller v.1.1.88.1 driver,Best Way to Download NVidia GeForce 6100 VGA Driver v.304.51 Certified,How Can You Update & Download NVidia GeForce 9300/nForce 730i VGA Driver v.310.19 Certified,Method to Download NVidia GeForce GT 330M Driver v.340.65,How Can I Update & Download NVidia GeForce GTX 590 Driver v.280.26 WHQL,Method to Download NVidia Tesla C2050 Driver v.319.17
Read More: How to Fix Error - Calculated formula in a pivot table?,How to Fix - boot in to safe mode -?,Troubleshooter of Error: Bug? Lock the taskbar shows part of \"libraries\" on the desktop bar,Bookmarking a website creates 2 entries in favorites Tech Support,How Can You Fix - C:\\WINDOWS\\system32\\rundll32.exe - missing??,All diagnostic tools give 0x800700C1, troubleshooting wizard can't continue,all files try to open with adobe,all icons on desktop have changed to Adobe icon and won't open,All functions of my outlook are working except it will not let me "REPLY" or start a "NEW" email,all f1-f12 shortcuts not work

No comments:

Post a Comment