Created attachment 78647 [details] Simple chart with named range (build with Excel 2003) Named range doesn't work with chart. I use named range like values of a series (for example SpreadSheet1!MyDataRange), but work with MS-Excell.
Confirmed in 4.0.1.2.
Now confirmed in 4.0.2.2.
The same thing with Pivot table
I am having this issue pulled from Debian Jessie repos. I define a range in calc, save document. Data->Pivot Table->Create The "named range" option cannot be selected and my named range is not shown. LibreOffice 4.3.3.2 430m0(Build:2)
** 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 (5.1.6 or 5.2.3 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 helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20170103
This bug is still present in Libreoffice: - 5.3.0.3 (linux mint 17.3) - 5.2.3.3 (opensuse leap 42.2) Libreoffice Calc does not support named ranges in Charts. Usage example: Amortization table Defined named range: Principal = OFFSET($Table.$B$11,0,0,COUNT($Table.$B$11:$B$40,">0"),1) Use defined name in Chart Data Ranges... -> Data Series -> Y-Values: =amortization_test.ods!Principal A dynamic amortization table, which is used as input to a chart, shows principal paid, interest paid, and balance amounts. The size (number of nonzero rows) of the table varies depending on input (amount, rate, term). As mentioned in the title, excel does support this.
There was a question in ask.libreoffice.org today I would judge to be related to this bug: https://ask.libreoffice.org/en/question/124256/dynamic-range-for-chart/ (I am 'Lupp' there.) I would suggest to expand this topic to: "Named or calculated (by INDIRECT, OFFSET, INDEX) cell ranges cannot be selected for charts.", and to qualify the bug's 'Importance' as 'enhancement'. The functionality under discuission is still not available in LibO V 5.4.0.3. Calc. If someone knows a related statement in a specification, a help text, or a user guide, please post it (or a link) here.
Created attachment 143731 [details] Test chart with named range from MSO.xlsx Let's make a distinction. Let Bug 66250 be about LO support for named ranges in LO, that's not available. And let bug 64086 be about import of MSO documents. I attach a test chart with named range created in MSO. "SerB" is not shown because it's named range in XLSX. If all data series are named ranges, chart looks empty.
What worsens this issue from MSO side is: the cell reference in the formula will change to their defined names automatically, if we have defined names for the cell reference before (while the cell reference will not change to their defined names, if we create formulas for the cell reference before defining names).
Created attachment 173759 [details] Chart with name range
Eike Rathke committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/3c766512984feff739377d0f0af46558ee7139fd Related: tdf#64086 Add FormulaGrammar::isRefConventionOOXML() It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Will the patch also kill tdf#66250 ?
That commit is just a prerequisite for https://gerrit.libreoffice.org/c/core/+/118862 and does not solve anything (hence "Related" in the commit summary, not "Resolves" (which is only a convention I use to name things, nothing LibreOffice official)).
Balazs Varga committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/233286df08aeedb4e228fd523365b94543b16fca tdf#64086 tdf#143623 tdf#66250 XLSX: fix named ranges in charts It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in: Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: eeeef98796df322d89912070c8e431c5f6d1283f CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: threaded