Is there a way to move a column (or row) to the left using only the keyboard? I known I can use ctrl-space (shift-space) to select a column (row), but how to move it to the left or right, actually swapping position with the column to its left or right?

(I am using Excel 2007)

link|improve this question

60% accept rate
feedback

3 Answers

up vote 5 down vote accepted

Best I can come up with is something like this (note, this works in Excel 2003 - might not work in 07/10, but you've haven't indicated which version you are using):

Ctrl + Space to select the source col.

Ctrl + X to cut the col.

Left Arrow or Right Arrow to move to the column you want to move the selected column to the left of.

Crtl + Space to select the target col.

Crtl + + to insert the cut cells (with thanks to variant for that useful comment!).

I'm thinking that AutoHotkey or a short macro might be a good way to achieve this.
It should be easy to record a quick Excel macro using the above set of commands, just make sure "Relative Reference" is on.

link|improve this answer
Yep, that works (even in Excel 2007), bit long-winded though :-) – Rabarberski Aug 20 '10 at 9:00
Indeed, if you wish to use it a lot then record it as a macro and assign it a keyboard shortcut. Or try using AutoHotkey to automate it without having to add macros to your files. – DMA57361 Aug 20 '10 at 9:21
2  
Instead of Alt+I then E, you can simply hit Ctrl + +. This will insert just the same. – variant Aug 20 '10 at 11:51
If you are in Excel 2007 / 2010 and are trying to move a column in a table be sure to select from the header cell with Ctrl + Space in the desired column and not just any cell in the column. Otherwise you'll get the error This operation is not allowed. The operation is attempting to shift cells in a table on your worksheet. – Urda Dec 6 '11 at 17:13
feedback

According to the Excel keyboard shortcuts list, there is no built-in shortcut to achieve what you want.

link|improve this answer
feedback

Instead to move a single cell or row or column do the following:

CTRL+X

select the location where you have to move and press right click or the button between Windows key and CTRL key select insert cut cells the cells will be replaced.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.