Skip to content

Question: Should cells containing errors return missing? #327

@TimG1964

Description

@TimG1964
julia> XLSX.getcell(f[1], "M4")
XLSX.Cell(M4, "e", "", "#DIV/0!", "", XLSX.Formula("1/0", nothing, nothing, nothing))

julia> f[1]["M4"]
missing

I ask this because I'm looking at how FileIO.jl and the related ExcelFiles.jl handle Excel files. Currently they are broken since ExcelReaders.jl stopped supporting .xlsx files around two years ago. However, it is clear from the test suite for ExcelFiles.jl that it previously expected cells like the above to return a ExcelReaders.ExcelErrorCell.

Maybe it would be possible for XLSX.jl to return something other than missing when cells contain errors. Maybe this would be too breaking?

Errors include #DIV/0!, #REF!, NAME?, #N/A, #SPILL! and possibly others.

Do others have a view on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions