- Swapping multiple cells in columns and rows around is something a lot of Sheets users might often need to do.
- This Google Sheets guide provides details for how users can swap column and row cells with a drag-and-drop method and the Power Tools add-on.
- Our Teamwork Hub includes many more how-to guides for web apps.
- Alternatively, check out the Google Sheets webpage to browse through other useful articles.
Sheets is one of the foremost web apps for spreadsheets with which users can set up data tables.
Google Sheets users will sometimes need to swap multiple cells in rows and columns on their tables.
For example, a Sheets user might need to swamp all the cell values within column B with the numbers in column C. That user could fall back on copying and pasting column cell ranges with the Ctrl + C and Ctr + V hotkeys, but there are two better methods.
Read on to find out more.
How do I swap columns and rows in Google Sheets?
1. Drag-and-drop adjacent columns and rows to swap them
- Open a blank Google Sheets spreadsheet in your browser.
- Enter the values 55 and 125 in cells B2 and B3.
- Input the numbers 454 and 342 in cells C2 and C3 as shown directly below.
- Left-click the top of column B. Then the cursor should turn into a hand.
- Press and hold the left mouse button to drag column B over column C.
- Then release the left mouse button. When you do that, you’ll have swamped the two columns’ cell values around as in the snapshot directly below.
- You can swamp the cell contents of two adjacent rows in exactly the same way. Just double left-click a row number, hold the left mouse button, and drag it over another row to swamp it with.
2. Swap non-adjacent column and row cells with Power Tools
- To add the Power Tools add-on to Sheets, open the download page for it in a browser.
- Press the Install button on that page.
- Select the Continue option to confirm.
- Select your Google account.
- Click the Allow option, and press the Done button.
- Open an empty spreadsheet in Sheets.
- Enter the dummy data 443 and 1233 in cells B2 and B3.
- Next, input the numbers 533 and 643 in cells D3 and D4 as in the shot directly below.
- Now click Add-ons > Power Tools to open the menu shown directly below.
- Click Start to open the Power Tools sidebar.
- Then left-click the very top of column B to select it.
- Press and hold the Shift key and left-click column D. Then you’ll have selected both columns as in the image directly below.
- Click the More (…) button at the top right of Power Tools.
- Select the Flip adjacent cells, rows, and columns option.
- Then select the Flip entire columns option to swap the cells in the non-adjacent columns around.
- Alternatively, select the Flip cells horizontally option to obtain the same result. That option is more flexible as you can swap a smaller range of selected cells in one column with those in another.
- To swap non-adjacent rows in a Sheets spreadsheet, select the rows to swamp around and click the Flip entire rows option in Power Tools. Or you could select the Flip entire rows option instead.
That’s how you can swap cells in rows and columns around in Sheets without copying and pasting. You can swap cells in columns and rows more quickly with the drag-and-drop method and Power Tools.