Created attachment 38724 [details] FormulaParser.java I have a workbook with a sheet whose name contains multiple single quotes. And I ran into a problem when I try to refer to it from a formula. I found a similar issue that was already fixed, it was about the case where the sheet name contains only one single quote, but unfortunately in my case the issue still exists. https://bz.apache.org/bugzilla/show_bug.cgi?id=66401 I investigated this problem and now I have a solution, please review my Pull Request with a simple fix. Example of the problem: Sheet name - Sh''t1 (contains two single quotes). In the formula it will be - 'Sh''''t1' After parsing it will become - Sh''
Pull Request link: https://github.com/apache/poi/pull/496
PR was merged