Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Moving Columns in Excel: The Easiest Ways to Do It

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To move a column in Excel, the fastest method is to select the column, hold the Shift key, and drag the edge of the selection to the new location. This "inserts" the column between existing ones rather than overwriting the data already there. Moving columns allows you to reorganize your data for better readability, group related information together, or prepare a dataset for a specific report without deleting any existing content.

What You'll Need

  • A computer with Microsoft Excel installed (Windows or macOS).
  • An open workbook containing the data you wish to reorganize.
  • A mouse or trackpad for dragging and dropping.

Step-by-Step

Depending on your preference and the size of your dataset, there are three primary ways to move columns. Note that menu labels may differ slightly depending on your version of Excel or operating system.

Method 1: The Shift-Drag Method (Fastest)

  1. Click the column letter (e.g., "B") at the very top of the spreadsheet to select the entire column you want to move.
  2. Hover your mouse cursor over the border of the selected column until the pointer changes into a four-headed arrow (or a hand icon on Mac).
  3. Press and hold the Shift key on your keyboard.
  4. While holding Shift, click and drag the column to the left or right. As you move, you will see a thick green or grey vertical line indicating where the column will be inserted.
  5. Release the mouse button first, then release the Shift key. The column will slide into place, and the surrounding columns will automatically shift to make room.

Method 2: Cut and Insert (Most Precise)

  1. Click the column letter at the top to select the column you wish to move.
  2. Right-click the selected column header and select Cut from the context menu (or press Ctrl + X on Windows / Cmd + X on Mac).
  3. Right-click the header of the column to the right of where you want your moved column to land. For example, if you want the column to be the new Column B, right-click Column B.
  4. Select Insert Cut Cells from the right-click menu. Excel will move the cut column to the left of your selection and shift the other columns to the right.

Method 3: Using Data Sorting (For Large Scale Reordering)

  1. Insert a new blank row at the very top of your spreadsheet (Right-click Row 1 > Insert).
  2. In this new top row, type a number above each column representing the order you want them to be in (e.g., type "1" above the column you want first, "2" above the second, etc.).
  3. Select your entire data range, including the new numbered row.
  4. Go to the Data tab on the ribbon and click Sort.
  5. In the Sort dialog box, click the Options... button.
  6. Select Sort left to right and click OK.
  7. In the "Sort by" dropdown, select Row 1. Ensure the order is set to "Smallest to Largest."
  8. Click OK. Your columns will rearrange based on the numbers you assigned.
  9. Delete the temporary numbered row (Right-click Row 1 > Delete).

Common Mistakes

  • Forgetting the Shift Key: If you drag a column without holding Shift, Excel will ask if you want to "replace the contents of the destination cells." If you click OK, you will permanently overwrite and delete the data in the target column.
  • Selecting Only Cells: If you select only the data cells in a column rather than the entire column header, you may create "holes" in your data or move only a portion of the column, breaking the alignment of your rows.
  • Moving Merged Cells: Excel often prevents moving columns if they contain merged cells. You must unmerge the cells before the move can be completed.
  • Cutting and "Pasting" instead of "Inserting": Using a standard "Paste" (Ctrl + V) will overwrite existing data. Always use "Insert Cut Cells" to preserve your other information.

Tips

  • Use Keyboard Shortcuts: To speed up Method 2, use Ctrl + X to cut and then right-click the target header to insert.
  • Freeze Panes: If you are moving columns in a massive sheet, go to View > Freeze Panes > Freeze First Column so you don't lose track of your primary identifiers while scrolling.
  • Backup Your Data: Before performing a large-scale reorder using the Sort method, save a copy of your file or create a duplicate tab in case the sorting doesn't go as planned.
  • Check for Tables: If your data is formatted as an official "Excel Table" (Ctrl + T), the Shift-drag method works slightly differently; you can drag the column header directly without needing the Shift key in some versions.

Troubleshooting

If the column will not move or you encounter an error, try these steps in order:

  1. Check for Merged Cells: Search for any cells that span multiple columns. Select the whole sheet, go to the Home tab, and click Merge & Center to toggle it off.
  2. Check for Protected Sheets: If the options are greyed out, your sheet might be protected. Go to the Review tab and check if it says Unprotect Sheet. If so, click it (you may need a password).
  3. Verify Selection: Ensure you have selected the entire column by clicking the letter at the top. If you have selected a range of cells that doesn't span the entire height of the sheet, the "Insert Cut Cells" option may not appear.
  4. Restart Excel: If the "four-headed arrow" cursor does not appear during the drag process, save your work and restart the application to clear any interface glitches.

Frequently Asked Questions

Can I move multiple columns at once?

Yes. Hold Ctrl (Windows) or Cmd (Mac) while clicking multiple column letters to select them. You can then use the Cut and Insert method to move them as a block.

Why is the "Insert Cut Cells" option missing?

This usually happens if you have multiple areas selected that are not adjacent, or if you are trying to move cells within a filtered range. Clear all filters and ensure you have selected only one continuous block of columns.

Does moving a column break my formulas?

Generally, no. Excel is designed to update cell references automatically. If a formula refers to cell B2 and you move Column B to Column D, the formula will automatically update to refer to D2.

Can I move columns using a keyboard shortcut only?

There is no single key to "swap" columns, but you can use Ctrl + Space to select a column, Ctrl + X to cut it, and then navigate to the target column and use the right-click menu (or the Alt key shortcuts in Windows) to insert it.

Will moving columns affect my Pivot Tables?

Moving columns in the source data usually does not break a Pivot Table, but it is recommended to Refresh the Pivot Table (Right-click > Refresh) after making structural changes to the source sheet.