Bug 162262 - Support "Summary below data" option for Subtotal dialog
Summary: Support "Summary below data" option for Subtotal dialog
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment target:25.2.0
Keywords:
Depends on:
Blocks: Function-Subtotal
  Show dependency treegraph
 
Reported: 2024-07-30 10:11 UTC by Gabor Kelemen (allotropia)
Modified: 2024-10-28 13:19 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example file from Excel (10.05 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2024-07-30 10:11 UTC, Gabor Kelemen (allotropia)
Details
Subtotal summary on the Below sheet in Excel and Calc (149.45 KB, image/png)
2024-07-30 10:11 UTC, Gabor Kelemen (allotropia)
Details
Subtotal summary on the Not Below sheet in Excel and Calc (150.89 KB, image/png)
2024-07-30 10:12 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2024-07-30 10:11:15 UTC
Created attachment 195599 [details]
Example file from Excel

In the Excel Subtotal dialog, it is possible to use the "Summary below data" option to show the subtotals below or above the data.
Calc does not have such an option, it can only put subtotals below the data, but not above it.

1. Open attached document in Excel and Calc
2. In Excel, go to Data - Outline - Subtotal
-> there is a "Summary below data" box, checked on the "Below" sheet and not checked on the "Not below" sheet.

3. Open attached document in Calc
4. Go to Data - Subtotals - Options
-> No similar box. Pressing OK on the "Not below" sheet would reset the layout of the subtotals to look like on the Below sheet.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 46f7dcc5f499892ef093147b3f739c258bbf6b81
CPU threads: 14; OS: Windows 10 X86_64 (10.0 build 19045); UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default
Comment 1 Gabor Kelemen (allotropia) 2024-07-30 10:11:56 UTC
Created attachment 195600 [details]
Subtotal summary on the Below sheet in Excel and Calc
Comment 2 Gabor Kelemen (allotropia) 2024-07-30 10:12:14 UTC
Created attachment 195601 [details]
Subtotal summary on the Not Below sheet in Excel and Calc
Comment 3 Commit Notification 2024-10-28 12:28:38 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/26c08356d1b2a963efdca570979cb04388371400

tdf#162262 sc add "Summary below data" option for Subtotal dialog

It will be available in 25.2.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.