Document Editing Problems

How to Swap Two Rows in Excel with Drag and Drop in WPS Spreadsheets

Ayan MasoodAyan Masood Nov 13, 2026 869 views

Question details

The user wants to reorder rows in an Excel-compatible spreadsheet by swapping the positions of two rows using drag and drop instead of copying and pasting.

How to Swap Two Rows in Excel with Drag and Drop in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
The user is editing a workbook and needs to move or swap entire rows or individual cells into a different position without using cut, copy, and paste.
Observed behavior
There is no dedicated Swap Rows command; rows or selected cells must be repositioned manually with the Shift-drag method.
Before you start

Open the workbook in WPS Spreadsheets and confirm that row headers are visible. If the row you are moving contains formulas or linked references, duplicate the sheet first so you can verify the result after dragging.

Solution 1Recommended

Swap or move entire rows with Shift-drag

Use this method when you want to reorder whole rows quickly and keep the row content intact.

WPS Spreadsheets does not have a dedicated Swap Rows button, but Shift-drag performs a direct move operation. This avoids inserting blank rows or using cut and paste.

1
Select the row header

Click the row number on the left side of the sheet to select the entire row you want to move.

2
Hold Shift and drag the row border

Move the pointer over the border of the selected row until the cursor becomes a moving arrow, then hold down Shift and drag the row upward or downward.

3
Drop at the insertion line

When a thick horizontal insertion line appears between the destination rows, release the mouse button first and then release Shift.

Swap or move entire rows with Shift-drag
Row moved: Release the mouse button before Shift to move the row; releasing Shift first can copy or insert cells unexpectedly.
WPS Spreadsheets how-to

Reorder rows in WPS Spreadsheets without cut and paste

Use WPS Spreadsheets to move rows and selected cells directly with the Shift-drag method. It opens Excel workbooks, preserves formatting and formulas, and lets you complete the task in a familiar spreadsheet interface.

  1. 1. Open your workbook: Launch WPS Spreadsheets and open the Excel workbook you want to edit.
  2. 2. Select the row: Click the row header number on the left to select the row you want to move.
  3. 3. Shift-drag to swap: Hold Shift, drag the row border until the insertion line appears between the destination rows, then release the mouse button and Shift.
  4. 4. Verify formulas: Check that the moved row still displays the correct values and that any cell references update as expected.
Swap or move rows and cells directly in the sheetFull compatibility with Excel XLSX and XLS filesFamiliar ribbon interface and drag-and-drop behaviorNo need to insert blank rows or use cut and paste
microsoft office alternative - wps office

Frequently Asked Questions

Does WPS Spreadsheets have a dedicated Swap Rows command?

No, there is no dedicated Swap Rows button. Select the row header, hold Shift, drag the row border to the destination insertion line, and release the mouse button before Shift.

Can I swap individual cells instead of entire rows?

Yes. Select the cells, hold Shift, drag the selection border to the new location, and release when the insertion outline shows the desired position.

Why is Shift-drag copying instead of moving?

If you drag without holding Shift or release Shift before the mouse button, the action may copy or insert cells. Hold Shift until after you release the mouse button.

Will formulas adjust after moving rows?

Cell references usually adjust when you move cells with Shift-drag, but you should verify totals and linked formulas after reordering.

Does this method work in Microsoft Excel too?

Yes, the Shift-drag row moving method also works in Excel. WPS Spreadsheets provides the same Excel-compatible behavior for XLSX and XLS workbooks.