strange '@' chatacter is added to IF formula when exporting data #2955
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#2955
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I export data to excel file, my formula is "IF XXX", but the formula in the exported excel file is "@IF XXX".
Use the formula
IF(H3<>"",_xlfn.CONCAT(H3," (", G3, ")"), "")
. https://jsfiddle.net/quxk7n6j/ is a live example:When discussing formula expressions, it is important to stress that the formula displayed in Excel is not the same as the formula stored in the file. https://docs.sheetjs.com/docs/csf/features/formulae tries to cover more details.
The
_xlfn.
prefix is needed for a number of "future functions". The functions that are not considered "future" (the functions that can be used without the_xlfn
prefix) are listed in theFtab
variable defined in https://git.sheetjs.com/sheetjs/sheetjs/src/branch/master/modules/64_ftab.ts#L403A partial list of future functions is available in the documentation at https://docs.sheetjs.com/docs/csf/features/formulae#prefixed-future-functions .