Commit Graph

227 Commits

Author SHA1 Message Date
xuri 4ac32278ff
Fix hyperbolic cotangent calculation incorrect and unit test 2021-01-31 13:15:10 +08:00
xuri 76c72e0a30
Nested formula function support cell references as arguments 2021-01-31 01:28:40 +08:00
xuri dd77cfe44c
refactor formula calculation framework, add new function CHOOSE, and update dependencies module 2021-01-30 00:11:01 +08:00
xuri b84bd1abc0
new formula fn: IF, LEN; not equal operator support and faster numeric precision process 2021-01-27 13:51:47 +08:00
xuri 576bfffbe6 This closes #752, fix incorrectly merged cells on duplicate row, and new formula function: LOWER, PROPER, UPPER 2020-12-22 01:48:52 +00:00
Zhang Zhipeng ad79505173
new formula func CLEAN and TRIM, change import path to v2 (#747) 2020-12-14 09:56:42 +08:00
xuri 599a8cb0bc
Fixed #727, rounding numeric with precision for formula calculation 2020-11-19 21:38:35 +08:00
xuri 2514bb16c6 Fix #724, standardize variable naming and update unit tests 2020-11-11 01:03:56 +08:00
xuri b812e9a1a8
New formula function AND (#701) and update doc for the NewSheet (#714) 2020-10-22 08:29:25 +08:00
xuri 02530e8c8a Fix #701, init new formula function AND and OR, prevent formula lexer panic on retrieving the top token type 2020-10-17 01:18:22 +08:00
xuri ac3dce0bea
- Resolve #711, update docs for the GetSheetIndex
- Update unit test
2020-10-12 00:05:27 +08:00
jaby 5993a07422
Fix issue 665 (#666) 2020-07-14 23:05:43 +08:00
xuri b6dd7648a1
fn: COUNTA 2020-06-04 00:35:54 +08:00
xuri b62950a39e
fn: MEDIAN, ISNUMBER 2020-06-02 23:39:41 +08:00
xuri 22df34c493
fn: ISBLANK, ISERR, ISERROR, ISEVEN, ISNA, ISNONTEXT, ISODD, NA 2020-05-31 15:13:52 +08:00
xuri fa2571a17e
fn: SUMIF 2020-05-30 23:21:02 +08:00
xuri 0feb819d4c
updated test and go.mod 2020-05-11 00:01:22 +08:00
xuri 882abb8098
- formula engine: reduce cyclomatic complexity
- styles: allow empty and default cell formats, #628
2020-05-10 16:56:08 +08:00
xuri 4188dc7a4a
- fn: SUMSQ
- resolve ineffectual assignment
- handle exception with invalid formula
- update range resolver
2020-05-09 00:32:36 +08:00
xuri 08185c398a
#65, fn: ROUND, ROUNDDOWN, ROUNDUP, SEC, SECH, SIN, SINH, SQRTPI, TAN, TANH, TRUNC 2020-05-08 00:31:17 +08:00
xuri de34ecaace
#65 fn: MOD, MROUND, MULTINOMIAL, MUNIT, ODD, PI, RADIANS, RAND, RANDBETWEEN, ROMAN 2020-05-07 00:15:54 +08:00
xuri 97e3f4ce68
#65 fn: CSCH, DECIMAL, DEGREES, EVEN, EXP, FACT, FACTDOUBLE, FLOOR, FLOOR.MATH, FLOOR.PRECISE, INT, ISO.CEILING, LN, LOG, LOG10, MDETERM 2020-05-06 00:01:31 +08:00
xuri 5c82f2269d
#65 fn: CEILING.PRECISE, COMBIN, COMBINA, COS, COSH, COT, COTH, CSC 2020-05-05 17:27:19 +08:00
xuri 6f796b88e6
fn: CEILING, CEILING.MATH 2020-05-04 21:22:11 +08:00
xuri 789adf9202
fn: ACOS, ACOSH, ACOT, ACOTH, ARABIC, ASIN, ASINH, ATANH, ATAN2, BASE 2020-05-04 18:18:05 +08:00
xuri bdf0538640
fn: ABS, GCD, LCM, POWER, PRODUCT, SIGN, SQRT, SUM, QUOTIENT 2020-05-04 13:40:04 +08:00
xuri 48fc4c08a2
init formula calculation engine, ref #65 and #599 2020-05-03 18:44:43 +08:00