Skip to content

Commit

Permalink
fix #286
Browse files Browse the repository at this point in the history
  • Loading branch information
dilshod committed Oct 8, 2024
1 parent 76568f7 commit 91a753e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xlsx2csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ def handleCharData(self, data):
elif self.colType == "n":
format_type = "float"

if format_type and not format_type in self.ignore_formats and self.data != "#N/A":
if format_type and not format_type in self.ignore_formats and self.data not in ['#N/A', '#REF!', '#DIV/0!', '#CALC!', '#NAME!', '#NULL!', '#NUM!', '#SPILL!', '#VALUE!']:
try:
if format_type == 'date': # date/time
if self.workbook.date1904:
Expand Down

0 comments on commit 91a753e

Please sign in to comment.