Skip to content

Commit 91a753e

Browse files
committed
fix #286
1 parent 76568f7 commit 91a753e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xlsx2csv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ def handleCharData(self, data):
862862
elif self.colType == "n":
863863
format_type = "float"
864864

865-
if format_type and not format_type in self.ignore_formats and self.data != "#N/A":
865+
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!']:
866866
try:
867867
if format_type == 'date': # date/time
868868
if self.workbook.date1904:

0 commit comments

Comments
 (0)