diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java index 5fccecc68..41e0580b7 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java @@ -2616,4 +2616,21 @@ public final class TestXSSFBugs extends BaseTestBugzillaIssues { wb.close(); } + + @Test + public void test53105() throws IOException { + Workbook wb = XSSFTestDataSamples.openSampleWorkbook("53105.xlsx"); + assertNotNull(wb); + + + // Act + // evaluate SUM('Skye Lookup Input'!A4:XFD4), cells in range each contain "1" + FormulaEvaluator evaluator = wb.getCreationHelper().createFormulaEvaluator(); + double numericValue = evaluator.evaluate(wb.getSheetAt(0).getRow(1).getCell(0)).getNumberValue(); + + // Assert + assertEquals(16384.0, numericValue, 0.0); + + wb.close(); + } } diff --git a/test-data/spreadsheet/53105.xlsx b/test-data/spreadsheet/53105.xlsx new file mode 100644 index 000000000..80ec056e4 Binary files /dev/null and b/test-data/spreadsheet/53105.xlsx differ