Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DAE84200CC4 for ; Thu, 29 Jun 2017 00:35:44 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D9754160BFA; Wed, 28 Jun 2017 22:35:44 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2BAAA160BF7 for ; Thu, 29 Jun 2017 00:35:44 +0200 (CEST) Received: (qmail 44600 invoked by uid 500); 28 Jun 2017 22:35:43 -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 44585 invoked by uid 99); 28 Jun 2017 22:35:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jun 2017 22:35:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2210CCCEF9 for ; Wed, 28 Jun 2017 22:35:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.424 X-Spam-Level: ** X-Spam-Status: No, score=2.424 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_ENVFROM_END_DIGIT=0.25, FROM_MISSPACED=0.001, NML_ADSP_CUSTOM_MED=1.2, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id A25Uo-lU4kDF for ; Wed, 28 Jun 2017 22:35:41 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 94BE95F2AE for ; Wed, 28 Jun 2017 22:35:41 +0000 (UTC) Received: from localhost (cust-asf.ponee.io [163.172.22.183]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BCAF8E0026 for ; Wed, 28 Jun 2017 22:35:40 +0000 (UTC) MIME-Version: 1.0 Message-ID: Subject: Re: Table Formula Manipulation and Matrix Function Implementation in HSSF/XSSF References: From: "Robert Hulbert" In-Reply-To: Content-Type: text/plain; charset="iso-8859-1" x-ponymail-sender: a2404be515bfb17799c455c18c0debfdcda1e6db Date: Wed, 28 Jun 2017 22:35:40 -0000 x-ponymail-agent: PonyMail Composer/0.2 To: X-Mailer: LuaSocket 3.0-rc1 archived-at: Wed, 28 Jun 2017 22:35:45 -0000 Correction, I meant to say array formulas. For example, when I attempted testing component binary operations (+,-,*,/) using array formulas (formula over an area w/ CTRL+SHIFT+ENTER), it evaluated to [!VALUE] in the cell where the formula was and empty string in subsequent cells. On 2017-06-27 15:59 (-0700), Greg Woolsey wrote: > I implemented the current table formula handling, based on a patch I found > languishing in the bug database. It's been a year or so, but here's what I > remember: > > Data Table syntax works in most cases, but there is definitely room for > more test cases looking for bugs in less common scenarios - Unicode in > table header names, characters requiring quoting, references to the current > or external workbooks are some I can think of off the top. > > There are exceptions and JavaDoc notes in many places stating array > formulas are not supported, and some open bugs about functions that work > only partially or incorrectly because of incomplete array formula support. > For example you can set array formulas for a sheet, but POI doesn't > evaluate them when calculating. > > I don't think there is much support at all currently for anything matrix > related. Parsing array syntax will be a tricky challenge, but if done > would likely allow a good portion of array/matrix function implementations > without much further fuss. > > Table formula syntax is not allowed by Excel in places like chart > definitions. If someone wanted to work on functionality similar to that in > Excel that can attempt to infer table/chart relationships, and thus offer > some support for automatically adjusting chart definitions based on table > additions/deletions, that would be an amazingly helpful feature to many > users, I suspect (and myself for sure! :) ) > > Somewhere on one of the mailing lists was a good collection of links to > pages and videos related to implementing functions in POI, but I'm failing > to find them right now. > > On Tue, Jun 27, 2017 at 1:01 PM Hulbert, Robert Douglas > wrote: > > > Hi, > > > > I'm a summer student at Lawrence Livermore National Laboratory and was > > hired to find or implement POI's table formulas and matrix functions. > > > > Over the last week or so, I have checked the POI page/Contributor > > guidelines and have looked through the source code for handling this > > functionality. > > > > Is anyone still interested in this functionality? If not, is there any > > documentation on where this aspect left off? > > > > Thank you so much for any help you can give! > > > > Best Regards, > > Robert Hulbert > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org