Conditional Number Formats that only can match negative numbers shouldn't display the sign #2573
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
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#2573
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?
In excel, if you have a number format, with a [condition], and that condition can only match negative numbers, then the sign of the value is suppressed. SSF.format incorrectly gives the sign. For example:
gives -25 instead of 25.
The test case in oddities.json line 153 is also incorrect.
Using format
[Red][<=-25]General;[Blue][>=25]General;[Green]General;[Yellow]General
in Excel 2019:Using format
[Red][<=0]General;[Blue][>=25]General;[Green]General;[Yellow]General
in Excel 2019: