Skip to content

Add a way to ignore "number stored as text" error #2046

@imirkin

Description

@imirkin

There can be funny reasons why we have to store a number-looking thing as text. For example, this could be due to a desire to introduce rich-text formats to the cell. Excel provides a way to ignore these errors so the sheet isn't full of little error triangles:

  <ignoredErrors>
    <ignoredError sqref="D15 C18:D19" numberStoredAsText="1"/>
  </ignoredErrors>

There are most likely other properties whose errors can be ignored too. Not sure what the right API is -- provide a sqref + errors to ignore, or try to manage it "more optimally"...

A quick search suggests at least these errors can be ignored, no idea if this set is exhaustive: calculatedColumn, emptyCellReference, evalError, formula, formulaRange, listDataValidation, numberStoredAsText, twoDigitTextYear, unlockedFormula.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions