diff --git a/Excel/view/WorksheetView.js b/Excel/view/WorksheetView.js index 341425ce00..2768e9dd06 100644 --- a/Excel/view/WorksheetView.js +++ b/Excel/view/WorksheetView.js @@ -1074,6 +1074,8 @@ aCFs[i].SqRefRange._setPropertyNoEmpty(null, null, function (c) { if (CellValueType.Number === c.getType() && false === c.isEmptyTextString()) { tmp = parseInt(c.getValueWithoutFormat()); + if (isNaN(tmp)) + return; arrayCells.push({cell: c, val: tmp}); min = Math.min(min, tmp); max = Math.max(max, tmp);