Return-Path: X-Original-To: apmail-poi-dev-archive@www.apache.org Delivered-To: apmail-poi-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 59F151128D for ; Thu, 17 Jul 2014 15:40:44 +0000 (UTC) Received: (qmail 28577 invoked by uid 500); 17 Jul 2014 15:40:44 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 28541 invoked by uid 500); 17 Jul 2014 15:40:44 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 28530 invoked by uid 99); 17 Jul 2014 15:40:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2014 15:40:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2014 15:40:43 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id EE5D41805; Thu, 17 Jul 2014 15:40:22 +0000 (UTC) From: bugzilla@apache.org To: dev@poi.apache.org Subject: [Bug 56737] New: FormulaParseException for sheet or workbook scoped named ranges when evaluating xlsx formulas Date: Thu, 17 Jul 2014 15:40:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: XSSF X-Bugzilla-Version: 3.11-dev X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: apache@gagravarr.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=56737 Bug ID: 56737 Summary: FormulaParseException for sheet or workbook scoped named ranges when evaluating xlsx formulas Product: POI Version: 3.11-dev Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: XSSF Assignee: dev@poi.apache.org Reporter: apache@gagravarr.org Consider a .xlsx workbook with two sheets. Sheet two "Defines" has a named range "NR_To_A1" on it, while there's a workbook scoped named range "NR_Global_B2". The first sheet has formulas which use it For a sheet scoped named range reference, with a formula like =Defines!NR_To_A1 Evaluation will fail with org.apache.poi.ss.formula.FormulaParseException: Cell reference expected after sheet name at index 9. For a workbook scoped named range reference, with a formula like =TestFile.xlsx!NR_Global_B2 Evaluation will fail with org.apache.poi.ss.formula.FormulaParseException: Parse error near char 0 '[' in specified formula '[0]!NR_Global_B2'. Expected number, string, or defined name -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org