-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BETADIST function does not work correctly #40
Comments
According to MS Excel documentation: BETA.DIST function takes at least four parameters:
I'm not sure which version of Excel you are using, but in Online Excel and MS Excel for Mac v15.13 the function BETA.DIST accepts at least four parameters. Here's my result in MS Excel:
In Formula.js if you only specified three parameters, Cumulative will be treated as false. Probably it could be better that Formula.js can throw an exception that when Cumulative is not specified, keep it the same way as MS Excel. |
Ok I see in Excel 2013 the Last variable is not required. Basically it considers it true if you don’t put it in. From: Zhipeng JIANG [mailto:[email protected]] According to MS Excel documentation: BETA.DIST function https://support.office.com/en-my/article/BETA-DIST-function-11188c9c-780a-42c7-ba43-9ecb5a878d31?ui=en-US&rs=en-MY&ad=MY&fromAR=1 takes at least four parameters:
I'm not sure which version of Excel you are using, but in Online Excel and MS Excel for Mac v15.13 the function BETA.DIST accepts at least four parameters. Here's my result in MS Excel: BETA.DIST(1/52, 0.4, 9.6, TRUE) = 0.540601637 In Formula.js if you only specify three parameters, Cumulative will be treated as false. Probably it could be better that Formula.js can throw an exception that when Cumulative is not specified, keep it the same way as MS Excel. — |
I see it now in Excel 2013 the last variable is considered true if you do not input it. I will fix this on my app Thank you so much. |
Issue: Following latest MS Excel documentation: [BETA.DIST](https://support.office.com/en-my/article/BETA-DIST-function-11188c9c-780a-42c7-ba43-9ecb5a878d31?ui=en-US&rs=en-MY&ad=MY&fromAR=1) will take at least four arguments. Solution: Added argument checks in function BETA.DIST(). More tests are also added.
Fixed issue sutoiku#40: BETADIST function does not work correctly.
Fixed issue #40: BETADIST function does not work correctly.
Is this issue resolved? |
This function does not appear to be working correctly
In FormulaJS:
BETADIST(1/52,0.4,9.6)
FormulaJS = 9.966606842186747
Excel = 0.540601367
Could some one check this out for me.
The text was updated successfully, but these errors were encountered: