JavaScript implementation of most formula functions supported by Microsoft Excel 2013 and Google Spreadsheets
NOTE: some external libraries required
{{ $eval(myFormula.substring(1)) }}
Status | Under development (first release scheduled for February, 2013) |
Purpose | Provide a JavaScript implementation of most formula functions supported by Microsoft Excel 2013 and Google Spreadsheets |
Origin | Expression Engine developed for the STOIC platform |
Coverage | A handful of unsupported functions are left deliberatly out of scope, and a few others are in need of a suitable implementation |
Dependencies | jStat, Lo-Dash, Moment.js, Numeral.js, Numeric JavaScript, Undercore.string (RequireJS package under development) |
Deployment | Client-side and server-side (NPM package under development) |
Author | Ismael Chang Ghalimi for STOIC, with help from a few contributors |
License | MIT License |
Type | Status | Reference |
---|---|---|
Compatibility functions | Planned | Excel |
Database functions | Planned | Excel |
Date and time functions | Implemented | Excel |
Engineering functions | Implemented | Excel |
Financial functions | Started | Excel |
Information functions | Planned | Excel |
Logical functions | Implemented | Excel |
Lookup and reference functions | Planned | Excel |
Math and trigonometry functions | Implemented | Excel |
Statistical functions | Implemented | Excel |
Text functions | Implemented | Excel |
User defined functions | Planned | Excel |
Web functions | Planned | Excel |
Function | Test | Result | Pass |
---|---|---|---|
{{ test.function }} |
{{ test.call }} |
{{ $eval(test.call) }} |
Functions follow Microsoft Excel's type classification (vs Google). |
Parameter names have been harmonized and simplified (they only affect documentation). |
Periods in function names have been removed (CEILINGPRECISE vs CEILING.PRECISE). |
Whenever matching functions in Microsoft Excel and Google Spreadsheets disagree, Microsoft Excel has precedence (larger user base). |
Microsoft Excel's Cube functions are not supported. |
Function | Platform | Reason | Planned |
---|---|---|---|
{{ function.name }}
|
{{ function.platform }} | {{ function.reason }} | {{ PLANNED(function.planned) }} |
Formula.js is developed and maintained by Ismael Chang Ghalimi, with support from STOIC and help from the following contributors:
Ilmari Karonen, Sébastien Loisel, Trevor Norris, Roönaän, Hannes Stiebitzhofer.
The MIT License (MIT)
Copyright © 2012 Sutoiku, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.