Commit Graph

234 Commits

Author SHA1 Message Date
xuri ca6b1577a7
add ten formula functions: ENCODEURL, EXACT, FALSE, IFERROR, ISTEXT, LENB, NOT, REPT, SHEET, TRUE 2021-02-14 00:02:29 +08:00
xuri ec45d67e59
binary search in range lookup and new formula function: LOOKUP 2021-02-13 00:07:52 +08:00
xuri 23c73ab527
init new formula function: HLOOKUP 2021-02-09 00:12:53 +08:00
xuri 66d85dae13
init new formula function: VLOOKUP 2021-02-04 23:57:07 +08:00
xuri 1f329e8f96
This closes #774, closes #775 and closes #776
- correct adjust calculation chain in duplicate rows
- correct adjust defined name in the workbook when delete worksheet
- use absolute reference in the auto filters defined name to make it compatible with OpenOffice
- API `CoordinatesToCellName` have a new optional param to specify if using an absolute reference format
- Fix cyclomatic complexity issue of internal function `newFills` and `parseToken`
2021-02-02 22:23:16 +08:00
xuri db7b4ee362
update formula functions test 2021-02-01 00:07:51 +08:00
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 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
xuri 3cf3101fd9 test on Go 1.5 on Travis CI and update docs for the CalcCellValue 2020-08-14 10:19:27 +00: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 2efc7107ff
- transform the range to the matrix on the first arg of the formula
- typo fix
- reset cell with and height when insert picture into merged cell with autofit
2020-05-21 22:57:58 +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