Bug 144288 - SUM(ABOVE) is turned into SUM(<A3:A1>)
Summary: SUM(ABOVE) is turned into SUM(<A3:A1>)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.5.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: Writer-Tables-Formulas
  Show dependency treegraph
 
Reported: 2021-09-03 22:10 UTC by Dave McKellar
Modified: 2025-09-07 03:11 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
An RTF doc made with Microsoft Word that uses SUM(ABOVE) (8.59 KB, application/msword)
2021-09-03 22:11 UTC, Dave McKellar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave McKellar 2021-09-03 22:10:09 UTC
Description:
When I open a Microsoft Word RTF document that has a formula of SUM(ABOVE)
it is changed into SUM(<A3:A1>) in LibreOffice Writer.
This is ok for read the document in.  But it changes the meaning.
For example if we add a row, then want more columns automatically included in the sum.  I seems LibreOffice needs to support ABOVE for good fidelity.

Steps to Reproduce:
1.  Make a RTF doc in MS Word that uses SUM(ABOVE)
2.  Read it with LibreOffice Writer
3.  Right click on to Edit Field and its no longer SUM(ABOVE)

Actual Results:
Its now SUM(<A3:A1>) or other numbers

Expected Results:
Should preserve SUM(ABOVE)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.5.2 (x64) / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 Dave McKellar 2021-09-03 22:11:05 UTC
Created attachment 174767 [details]
An RTF doc made with Microsoft Word that uses SUM(ABOVE)
Comment 2 Roman Kuznetsov 2021-09-04 16:45:21 UTC
this workaround was implemented in bug 123355. But I agree LO should save ABOVE, BELOW, etc. table's MS Word function arguments.
Comment 3 QA Administrators 2023-09-05 03:13:22 UTC Comment hidden (obsolete)
Comment 4 Dave McKellar 2023-09-07 20:19:40 UTC
I retested this with LibreOffice 7.6.0.3.   Its still there.  When I right-click on the field and select Edit Formula from the context menu it says "=SUM(<A3:A1>)" when it should say "=SUM(above)"
Comment 5 QA Administrators 2025-09-07 03:11:07 UTC
Dear Dave McKellar,

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