Problem description: if you use the DSUM function with a parameter list that is wider than the number of parameters (if you have extra unused columns in your parameter range) the formula generates an err:504. Steps to reproduce: 1. Make a DSUM forumula per usual 2. expand the parameter region to include one extra unused column Current behavior: generates error Expected behavior: It should ignore the extra column. Other info: Google Docs works as expected. Operating System: Ubuntu Version: 3.6.2.2 release
Please attach a document showing the behavior. Marking as NEEDINFO - once you attach document mark as UNCONFIRMED and we will triage it
Created attachment 80349 [details] Error Sample Here is the sample file for the bug. You will notice that I have two DSUM formulas, the first one has an extra column and generates an error, the second one does not have an extra column and works fine.
Thanks for the additional info, changing version back as version reflects earliest confirmed version with the issue, we just use comments to say that it still exists on a newer release. Thanks again
This is not a bug, from reading documentation we're following standards. I've never used DSUM before but I see that the issue is that if you include column N you have nothing to match O8 to because it's blank so it's spitting out errors. The error goes away if you remove one of the headers for your table (for instance delete D6, then you have blank=blank so it's matching up). From what I can tell this is all correct, if you know of documentation that this is wrong or if you know of software that behaves differently please let me know and I'll re-investigate.
Google Docs and Microsoft Excel both work with empty columns. “The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low, and achieving our mark.” - Michelangelo On Tue, Sep 24, 2013 at 5:40 PM, <bugzilla-daemon@freedesktop.org> wrote: > Joel Madero <jmadero.dev@gmail.com> changed bug 59905<https://bugs.freedesktop.org/show_bug.cgi?id=59905> > What Removed Added Status UNCONFIRMED RESOLVED Resolution --- NOTABUG > > *Comment # 4 <https://bugs.freedesktop.org/show_bug.cgi?id=59905#c4> on bug > 59905 <https://bugs.freedesktop.org/show_bug.cgi?id=59905> from Joel > Madero <jmadero.dev@gmail.com> * > > This is not a bug, from reading documentation we're following standards. I've > never used DSUM before but I see that the issue is that if you include column N > you have nothing to match O8 to because it's blank so it's spitting out errors. > The error goes away if you remove one of the headers for your table (for > instance delete D6, then you have blank=blank so it's matching up). From what I > can tell this is all correct, if you know of documentation that this is wrong > or if you know of software that behaves differently please let me know and I'll > re-investigate. > > ------------------------------ > You are receiving this mail because: > > - You reported the bug. > >
In the future please don't respond via email as it just ads clutter to bug comments (similar with extra quotes that don't add to the issue at hand). I'll mark this back to UNCONFIRMED and investigate a bit
My bad, sorry about the garbage. :/
No worries, we're trying to get our bug tracker to explicitly say "don't respond via email" but as of now it's just a hidden request by QA that we try to include to avoid comments becoming incomprehensible- not your fault at all. (Also my mistake for saying "ad" instead of "add").
Cannot change font in headers on the LibreOffice spreadsheets.
@Drew - how is that related to this bug? Also please don't change the priorities without knowing our workflow - thanks!
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: *Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.1 or later) https://www.libreoffice.org/download/ *If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior *If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT *Update the version field *Reply via email (please reply directly on the bug tracker) *Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for your help! -- The LibreOffice QA Team This NEW Message was generated on: 2015-04-18
Drew set this to NEW without any reason.
So the question of whether or not this is a bug comes down to whether or not we are supposed to mimick the behaviour of Excel and Google Sheets ?
If you modify the formula in I8 to =DSUM($B$6:$G$30;$E$6;J8:O9) it does not return an error anymore because G6 is empty. The problem is to know where is the error, did you forgot the column G in the database range, or did you add an erroneously empty search criteria? I tend to prefer clear error message than trying to interpret user typing errors. empty/empty is a valid search criteria. If you do not have an empty header in you database range, it is not the role of Calc to decide if you made an error in the database range, in the search criteria or elsewhere. So closing as NotABug. Feel free to reopen if you disagree. In such a case please argue. Best regards. JBF