Move Subtotal Cells to Another Column Without Sorting Excel Data
Question details
Move subtotal cells in an exported ERP report to another column while keeping them aligned with the corresponding customer records.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- An ERP report places subtotal values in the wrong columns, and the user needs to move them without sorting the report.
- Observed behavior
- Subtotal cells appear in the wrong columns and must remain on their original rows when moved.
Identify a column whose values distinguish subtotal rows from detail rows, and check that the destination cells in column K are empty. If moving multiple cells per row, make sure the destination range has enough empty columns.
Filter and move subtotal cells on their original rows
Use a filter to find subtotal rows, then move each row's cells to column K without changing the report order.
Click anywhere in the report and select Data > Filter.
Open the filter arrow in a column that identifies subtotals, such as column A. Choose an appropriate Number Filter or Text Filter. For example, use Greater Than 100 only if that condition reliably excludes detail rows.
On a visible subtotal row, select the cell or contiguous cells to move and press Ctrl+X. Click the cell in column K on the same row and press Ctrl+V. Repeat for each subtotal row.
Select Data > Filter to remove the filter, then check that each subtotal is still on its original row and aligned with the correct customer records.

Move subtotal cells without sorting in WPS Spreadsheets
Open the report in WPS Spreadsheets, filter for subtotal rows, and move their cells to column K one row at a time to preserve alignment.
- 1. Open the report: In WPS Office, open the ERP report in WPS Spreadsheets and check that the destination cells are empty.
- 2. Filter for subtotals: Click inside the report, select Data > Filter, and use the filter arrow on a column that distinguishes subtotal rows.
- 3. Move the cells: Select the subtotal cell or contiguous cells on one visible row, cut them, and paste them starting in column K on that same row. Repeat for the remaining subtotal rows.
- 4. Check the result: Remove the filter using Data > Filter, verify the customer and subtotal alignment, and save the report.

Frequently Asked Questions
Will filtering change the order of my Excel report?
No. Data > Filter hides rows that do not match the selected criteria; it does not reorder them. Avoid the Sort commands if the original order must stay intact.
How do I choose the right filter for subtotal rows?
Open the filter arrow in a column that distinguishes subtotals from detail rows. Use a Number Filter or Text Filter that matches your report; a condition such as Greater Than 100 works only if the data supports it.
Can I paste all filtered subtotal cells into column K at once?
A bulk paste of filtered cells can lead to unexpected alignment. For a reliable result, cut and paste each subtotal's cells into column K on the same worksheet row.
What should I check before moving a subtotal?
Check that the destination cell in column K is empty and on the same row as the subtotal. If moving several adjacent cells, check the columns to the right of K as well.




