| Summary: | Sorting a spreadsheet causes formulas to change | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | helplibreoffice |
| Component: | Calc | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED INVALID | ||
| Severity: | critical | CC: | ign_christian, jbfaure |
| Priority: | medium | ||
| Version: | 4.2.5.2 release | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
|
Description
helplibreoffice
2014-07-09 07:53:58 UTC
Hello.. It's really like a duplicate to one of the bugs: Bug 77018 -> external reference Bug 79441 -> internal reference, different sheet Bug 45146 -> internal reference, same sheet Please mark this so if you find same behavior to one of those. If you think different, please provide sample file & procedure to see the problem. Have sheet as follows: Column A to E are in sort range and include Col A Date Col B description Col C Description Col D Debit Amount Col E Credit Amount Column F is not included in the range and has a formula on the lines "F1+E2-D2" to give a running balance. After sorting A to E the col refs in the formula remain the same but the row refs change randomly (or so it seems). The file is my bank details so I can't enclose it. If you really need it I can spend some time anonamising a copy, but I'd rather not. Create say 10 rows as above and sort some of the rows - yoou'll see what I mean. I'm trying LO 4.3.2.1 at moment. I first noticed this with the first 4.3. I think this is a duplicate of bug 81633. @pherworth: please could you try with attachment 104016 [details] ? Best regards. JBF This is exactly what mine does. Although the first 3 columns are sorted the formula columns shouls stay where they are. Sorting your attachment (and my Spreadsheet) means all the intermediate totals are wrong unless you manually copy/drag the formula down the column(s) again. I've read the comments on the other thread (bug 81633). Surely if someone wants the formulas to move with the entries they can include those columns in the sort range. If they're not in the sort range then they should stay. In any event I can't see any logic in the way they move. And as I do most of my routine changes with macros it is particularly annoying to have to then make manual changes. I hope we don't have to wait till next year! (In reply to comment #3) > I think this is a duplicate of bug 81633. Looks like pherworth reporting different issue than reporter. Since reporter experienced sorting problem in LO 4.2.5.2. But bug 81633 introduced since 4.2.7 & 4.3.1 I've just updated LO 4.3.2.1 to 4.3.2.2 and the sorting problem is still there. Does that mean it's still next year before it's fixed? That last entry (comment 7) was me. I didn't realise I had 2 logins. Do we need to cancel one? A bug report with no more precision than "sometimes" is useless. So closing as INVALID. Please, feel free to reopen as UNCONFIRMED if you can provide a clear step by step description of the problematic behavior and attach a test file to reproduce it. Thank you for your understanding. Best regards. JBF |