Commit Graph

207 Commits

Author SHA1 Message Date
xuri 49424b0eb3
ref #65, #1185, new formula functions and precision improvement
* New formula functions: BETA.DIST, BINOMDIST and BINOM
* Fix a part of formula function calculation result precision issue on arm64
2022-03-20 00:16:32 +08:00
xuri 1da129a3df ref #65, new formula functions: CHIINV and BETADIST 2022-03-17 03:13:07 +00:00
xuri c3424a9a0f
ref #65, new formula functions: LOGNORM.DIST and LOGNORMDIST 2022-03-16 00:19:29 +08:00
xuri 4220bf4327
ref #65, new formula functions: LOGNORM.INV and LOGINV
* Update docs for the function `SetCellHyperLink`
2022-03-15 00:05:02 +08:00
xuri e1d660dda7
ref #65, new formula functions: GAMMA.INV and GAMMAINV and format code 2022-03-12 00:45:27 +08:00
xuri 361611c23a
ref #65, new formula functions: GAMMA.DIST and GAMMADIST 2022-03-11 00:07:30 +08:00
xuri aee7bdd3a0
ref #65, new formula functions: F.INV and GAUSS 2022-03-10 00:05:20 +08:00
xuri 56aa6b8263
ref #65, new formula functions and read boolean data type cell value support
* added 3 new formula functions: BETAINV, BETA.INV, F.INV.RT
2022-03-08 00:03:02 +08:00
xuri 61eb265c29
This closes #1171, improve the compatibility and added new formula function
ref #65, added new formula function: FINV
2022-03-07 00:07:03 +08:00
xuri 354d1696d8
ref #65, new formula functions: CORREL, SUMX2MY2, SUMX2PY2, and SUMXMY2 2022-03-06 00:29:33 +08:00
xuri 129052ae7d
This closes #1164, fix nested formula calculation result error 2022-03-04 00:44:50 +08:00
xuri 3971e8a48b
ref #65, new formula functions: COVAR, COVARIANCE.P, EXPON.DIST and EXPONDIST 2022-03-02 00:05:37 +08:00
xuri 1efa283887
ref #65, new formula functions FORMULATEXT and TYPE 2022-03-01 00:10:59 +08:00
xuri 42a9665aa9
ref #65: formula function INDIRECT support and formula engine improvement
Support calculation with the none parameter formula function after infix operator notation
2022-02-28 01:01:24 +08:00
xuri 471c8f22d0
This closes #1160, and added 4 new formula functions
* Fix show sheet tabs issue
* Ref #65, new formula functions: ERROR.TYPE, HOUR, SECOND TIMEVALUE
2022-02-26 21:32:57 +08:00
xuri f87c39c41d
This closes #1148, resolve limitations when adding VBA project to the workbook
Added two exported functions `SetWorkbookPrOptions` and `GetWorkbookPrOptions` to support setting and getting the code name property of the workbook
Re-order fields of the workbook properties group to improve the compatibility
Go Modules dependencies upgrade
Put workbook related operating in new `workbook.go` source code
Library introduction docs block updated
2022-02-17 00:09:11 +08:00
xuri 3ee3c38f9c
Fix file corrupted in some cases, check file extension and format code
Fix file corrupted when save as in XLAM / XLSM / XLTM / XLTX extension in some case
New exported error ErrWorkbookExt has been added, and check file extension on save the workbook
Format source code with `gofumpt`
2022-01-23 00:48:26 +08:00
xuri 2245fccca0
Typo fix, rename exported constants, dependencies modules and copyright update
Rename exported constants `NameSpaceDublinCoreMetadataIntiative` to `NameSpaceDublinCoreMetadataInitiative`
2022-01-09 00:20:42 +08:00
xuri 6b1e592cbc
This closes #1095, support to set and get document application properties 2021-12-26 14:55:53 +08:00
xuri 089cd365a3
This closes #1097, initialized formula function XLOOKUP and update test 2021-12-25 21:51:09 +08:00
xuri 6051434bf8
ref #65, new formula functions MAXIFS and MINIFS 2021-12-19 13:36:24 +08:00
xuri 63fe422299
new formula function and update docs for formula functions
ref #65, new formula function: INDEX (array formula not support yet)
2021-12-17 00:08:56 +08:00
xuri c0ac3165bd
ref #65: new formula function COUNTIFS 2021-12-14 00:38:16 +08:00
xuri 3371933494
ref #65: new formula functions: AVERAGEIF and COUNTIF 2021-12-13 00:02:25 +08:00
xuri 76aacfda0b
ref #65: new formula function: SHEETS, and fix SHEET function count issue 2021-12-12 00:07:01 +08:00
jaby b33e39369a
This closes #1090 (#1092)
Keep track of operators per function
2021-12-10 16:48:02 +08:00
xuri 1b3040659d
ref #65: new formula functions: ISFORMULA, ISLOGICAL and ISREF 2021-12-09 20:16:12 +08:00
jaby 5bf35f8c1c
This closes #1088 (#1089)
Support check string equality with the string value of a defined name
2021-12-09 09:40:11 +08:00
xuri 7af55a5455
ref #65: new formula function ODDFPRICE 2021-12-06 08:16:32 +08:00
xuri e0c6fa1beb
Update docs for SetSheetStyle, and added 2 formula functions
ref #65: new formula functions DURATION and MDURATION
fix incorrect example in SetSheetStyle docs
2021-12-04 13:11:01 +08:00
xuri 49c9ea40d7
ref #65: new formula function YIELD 2021-11-29 01:21:03 +08:00
xuri f26df480e5
ref #65: new formula functions CONFIDENCE and CONFIDENCE.NORM 2021-11-25 00:38:49 +08:00
xuri 9561976074
ref #65: new formula function VDB 2021-11-22 00:39:39 +08:00
xuri a6c8803e91
ref #65: new formula function XIRR 2021-11-21 15:49:29 +08:00
xuri bc3c7d51a2
ref #65: new formula function PRICE
- fix COUPPCD result accuracy issue
- update close spreadsheet example in documentation and README
2021-11-17 00:25:36 +08:00
xuri bda8e7f812
This closes #1061, support multi-byte language on set header footer
typo fixed and simplify code for read the data values arguments of formula functions
2021-11-16 00:40:44 +08:00
xuri 72410361b0
ref #65, new formula functions: COUPDAYBS, COUPDAYS and COUPDAYSNC 2021-11-15 00:28:10 +08:00
xuri 5de671f8bb
ref #65: new formula function MINUTE 2021-11-12 01:01:50 +08:00
xuri 00eece4f53
ref #65: new formula function XNPV 2021-11-11 00:43:42 +08:00
xuri a68bc34b0c
ref #65: new formula functions PERCENTRANK.EXC, PERCENTRANK.INC and PERCENTRANK 2021-11-09 00:10:09 +08:00
xuri 8f82d8b029
ref #65: new formula functions COUPNCD and COUPNUM 2021-11-08 00:19:28 +08:00
xuri 1df76b583c
ref #65: new formula functions COUPPCD and PRICEMAT 2021-11-07 00:14:39 +08:00
xuri 02b0fdf2c9
ref #65: new formula functions PERCENTILE.EXC, QUARTILE.EXC and VAR.S 2021-11-06 00:11:16 +08:00
xuri 8d21959da3
ref #65: new formula functions VAR, VARA and VARPA 2021-11-05 00:03:46 +08:00
xuri e64775fdcc
ref #65: new formula functions STANDARDIZE, STDEV.P and STDEVP 2021-11-04 00:04:45 +08:00
xuri 08ad10f68e
ref #65: new formula functions ERF, ERF.PRECISE, ERFC and ERFC.PRECISE 2021-11-03 00:17:06 +08:00
xuri b0eb9ef807
ref #65: new formula functions DELTA and GESTEP 2021-11-02 00:02:35 +08:00
xuri 3447cfecf2
ref #65: new formula functions ACCRINT and ISOWEEKNUM 2021-11-01 00:13:38 +08:00
xuri 3bb2849e41
ref #65: new formula functions DEVSQ and GEOMEAN 2021-10-31 00:15:17 +08:00
Jerring 9cc6694830
ref #65: new formula functions RATE and RECEIVED (#1045) 2021-10-30 22:14:49 +08:00
xuri 8932a0a0c3
ref #65: new formula functions PV, RANK and RANK.EQ 2021-10-30 14:27:14 +08:00
xuri 5c4627a0c2
ref #65: new formula functions VALUE and WEEKDAY 2021-10-29 20:05:43 +08:00
xuri ffc998941c
ref #65: new formula functions SWITCH and TRIMMEAN 2021-10-28 22:17:33 +08:00
xuri 2e9635ece8
ref #65: new formula functions TBILLPRICE and TBILLYIELD 2021-10-27 08:07:21 +08:00
xuri 08087e1233
ref #65: new formula functions TBILLEQ and TEXTJOIN 2021-10-26 00:01:05 +08:00
xuri 154effdf82
ref #65: new formula functions YIELDDISC and YIELDMAT 2021-10-24 12:20:24 +08:00
xuri 71684d966a
ref #65: new formula functions AVEDEV and CHIDIST 2021-10-23 10:18:06 +08:00
xuri f126f63562
ref #65: new formula functions ADDRESS and PRICEDISC 2021-10-22 00:46:11 +08:00
xuri 49e80b9e47
ref #65: new formula functions DISC and INTRATE 2021-10-21 00:33:25 +08:00
xuri 1df7f32cc6
ref #65, new formula functions: RRI, SLN and SYD 2021-10-20 00:07:22 +08:00
xuri 5f907b7824
ref #65: new formula functions IFNA and IFS and fix string compare result issue in arithmetic operations 2021-10-19 00:06:19 +08:00
xuri 620f873186
ref #65: new formula function AMORLINC 2021-10-18 00:18:56 +08:00
xuri c89b64c53c
ref #65: new formula functions ACCRINTM and AMORDEGRC 2021-10-17 22:51:33 +08:00
xuri cf8766df83
ref #65, new formula function: TIME 2021-10-16 16:05:50 +08:00
xuri de38402f74
This closes #1031, fix small float parsed error in some case
- new formula function: YEARFRAC, ref #65
- update the codecov version
- remove unused variable
2021-10-15 21:45:46 +08:00
xuri 28841af980 initialize formula function TRANSPOSE, ref #65 and remove unused exported error variable ErrToExcelTime 2021-10-01 21:43:02 +08:00
xuri 490f3063c2
This closes #1026, time parse accuracy issue and typo fixed 2021-09-26 00:07:40 +08:00
xuri c05b9fe8a6
new formula function: DAYS, ref #65 2021-09-24 08:19:48 +08:00
xuri 2add938798
- new formula functions: DATEVALUE, ref #65
- fix ineffectual variable assignments
- timeout in go test
2021-09-17 00:15:51 +08:00
xuri 1ba3690764
new formula functions: WEIBULL and WEIBULL.DIST, ref #65 2021-09-14 22:23:12 +08:00
xuri 4ef68729f5
new formula functions: Z.TEST and ZTEST, ref #65 2021-09-13 22:40:38 +08:00
xuri dad8f490cc
This closes #417 and closes #520, new API `GetCellType` has been added 2021-09-09 23:43:16 +08:00
xuri 72d84c0cbd
This closes #262, support set line width of add the shape 2021-09-08 22:05:42 +08:00
xuri 684603befa
This closes #993, closes #1014
- Fix formula percentages calculated incorrectly
- Make UpdateLinkedValue skip macro sheet
- Fix conditional format bottom N not working
2021-09-06 00:01:42 +08:00
xuri 32b23ef42d
This closes #998
- Support text comparison in the formula, also ref #65
- `GetCellValue`, `GetRows`, `GetCols`, `Rows` and `Cols` support to specify read cell with raw value, ref #621
- Add missing properties for the cell formula
- Update the unit test for the `CalcCellValue`
2021-09-05 11:59:50 +08:00
xuri 5e1fbd6bf7
This closes #1008, added new formula functions MATCH and XOR, related issue #65 2021-08-29 00:03:44 +08:00
Stani 9b55f4f9f0
This closes #1006, new fn: MONTH ref #65
Co-authored-by: xuri <xuri.me@gmail.com>
2021-08-21 20:15:53 +08:00
Stani 4d716fa7ed
* This closes #1004, new fn: MONTH ref #65 2021-08-21 15:46:43 +08:00
Stani f280c03345
This closes #997, fix LOOKUP function to find nearest match (#1001) 2021-08-21 11:58:15 +08:00
Stani 935af2e356
This closes #1002, new fn: DAY ref #65
Co-authored-by: Stani Michiels <git@rchtct.com>
Co-authored-by: xuri <xuri.me@gmail.com>
2021-08-21 11:50:49 +08:00
Stani dca03c6230
This closes #994, fix LOOKUP function for Array form 2021-08-19 22:12:37 +08:00
xuri 48c16de8bf
Improve security and simplify code
- Make variable name more semantic
- Reduce cyclomatic complexities for the formula calculate function
- Support specified unzip size limit on open file options, avoid zip bombs vulnerability attack
- Typo fix for documentation and error message
2021-08-15 00:06:40 +08:00
three f6f14f507e
Speed up merge cells 2021-08-13 01:32:44 +08:00
bailantaotao 61d0ed1ff2
This closes #987: support nested calc for if formula (#988) 2021-08-12 14:53:59 +08:00
xuri c49e7aab30
Reduce cyclomatic complexities for the formula calculate function and update documentation for the API: `MergeCell` and `GetCellValue` 2021-08-09 22:22:43 +08:00
xuri 1ec0207fb5
Fix code security issue 2021-07-20 23:04:50 +08:00
xuri 4f0d676eb7
Fix missing set each cell's styles when set columns style 2021-07-08 00:52:07 +08:00
xuri f27624acdd
This closes #866, support use the defined name to reference the data range in pivot table options
- Fix incorrect scope when getting defined name
- Update docs: use column number instead of index on get column width
2021-06-29 22:26:55 +08:00
jaby bafe087a61
This closes #858 (#859)
* fixes https://github.com/360EntSecGroup-Skylar/excelize/issues/858

* fixes https://github.com/360EntSecGroup-Skylar/excelize/issues/858

Co-authored-by: dvelderp <peter.de.velder@gmail.com>
2021-06-08 19:02:34 +08:00
jaby 2c90b3f535
fixes #856 (#857) 2021-06-07 18:49:20 +08:00
xuri be12cc27f1
This closes #652, new SetColWidth API, support set column width in stream writing mode, and export error message 2021-05-10 00:09:24 +08:00
xuri 423bc26d1f
#65 fn: BESSELK and BESSELY 2021-05-09 14:20:17 +08:00
xuri 80d832022f
#65 fn: IRR nad MIRR 2021-04-16 14:45:45 +00:00
xuri 471f4f8d2b
#65 fn: FV, FVSCHEDULE, NPER, NPV and PDURATION 2021-04-14 00:39:18 +08:00
xuri 68dd5b345c
#65 fn: DB, DDB, DOLLARDE, DOLLARFR, EFFECT, ISPMT and NOMINAL 2021-04-13 00:01:13 +08:00
xuri a13b21fe07
fixed the negative values series missing chart color, #65 fn: CUMIPMT and CUMPRINC 2021-04-11 00:03:25 +08:00
xuri a8197485b5
#65 fn: IPMT, PMT and PPMT 2021-04-09 00:29:47 +08:00
xuri 737b7839a2
Fixed #819, read empty after streaming data writing
#65 fn: IMAGINARY, IMARGUMENT, IMCONJUGATE and IMDIV
2021-04-08 00:50:59 +08:00
xuri 99963f89c7
#65 fn: IMLOG2, IMPOWER, IMPRODUCT, IMREAL, IMSEC, and IMSECH 2021-04-07 00:01:03 +08:00
xuri 3345e89b96
#65 fn: IMSIN, IMSINH, IMSQRT, IMSUB, IMSUM, IMTAN 2021-04-05 13:00:34 +08:00