Description: I created a chart in Excel that uses named ranges for the data (dates and corresponding values). The named ranges are defined in Name Manager using an OFFSET formula with reference to a cell in which the user can enter an end date for the chart. In Excel, you can change the date in that input cell and then the chart with update accordingly and only show dates and values up until that input date. In Calc however it doesn't work and just displays the chart the way it last looked in Excel without the possibility of changing the range of data shown. Steps to Reproduce: 1. Create new file in Excel. 2. Create one column with dates (B4:B27) and one column with values (C4:C27). 3. Add a date in cell C1. This is supposed to be an input for the user, with the description: "only show data until: [C1]" 4. In Excel's name manager, create two data ranges called value_range and date_range. They are defined as =OFFSET(Sheet1!$B$4,,,COUNTIF(Sheet1!$B$4:$B$27,"<="&Sheet1!$C$1)) for the dates and =OFFSET(Sheet1!$C$4,,,COUNTIF(Sheet1!$B$4:$B$27,"<="&Sheet1!$C$1)) for the values. In other words, value_range and date_range include all the dates and their corresponding values that are smaller or equal to the date entered by the user in C1. 5. Create line diagram. Create new series where the data is Sheet1!values_range and the axis labels are Sheet1!date_range. Now, the user can change the end date in C1 and the chart will only show the data until the chosen end date. 6. Save file as .xlsx The diagram works in Excel, but not in Calc. Actual Results: In Calc, the diagram will not update. It will appear the same way Excel last displayed it but won't update when the date in C1 is changed. Expected Results: Diagram should update when date in C1 is changed, like it does in Excel. Reproducible: Always User Profile Reset: No Additional Info: Test file and screenshots from both Excel and Calc can be found here: https://www.dropbox.com/sh/ssoeoucg2s2ytb5/AAAhD8uFp9gE3BH00H4dBTCoa?dl=0
Created attachment 183310 [details] Test file
Reproduced. I see support for named ranges in charts was added in bug 64086 Arch Linux 64-bit, X11 Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: e32dfaf15563372ffae6e0da53998e20068ebf81 CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 1 March 2023
Dear Anonymous, 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 with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. 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) from https://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: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Bug still exists