Created attachment 38454 [details] FormulaParser.java I have an Excel file with a sheet whose name contains a quote. This name is referenced in a formula on a cell of a different sheet. Example: Sheet name -> Valle d'Aosta Sheet reference in formula -> 'Valle d''Aosta'!A1 The FormulaParser creates a Ref3DPxg instance having: _firstSheetName -> Valle dAosta I have found this issue in version 5.2.3. FormulaParser eats the two consecutive quotes at line 1185 when, once they are detected, it scrolls to the next char without appending them to the string builder. Adding at line 1185 of FormulaParser the following statement solved my issue. sb.appendCodepoint(look); See the patched FormulaParser.java. I wonder if you could insert this fix in the next release.
Applied the suggested change via r1906217 Thanks for the investigation and suggestion!