Move Excel Charts with Arrow Keys
This post and video contain lots of tips for moving your charts and shapes with the arrow keys. This is very useful when you need to arrange and align multiple shapes on your worksheet. I also have a free Chart Alignment add-in that allows you to move the objects inside a chart (titles, labels, legends) with the arrow keys and alignment buttons.
Video
Move Chart with Arrow Keys
Typically when you select a chart with your mouse, the box surrounding the chart looks like the following.
When the chart is selected like this, nothing happens when you press the arrow keys to try and move the chart around the worksheet. Instead, the objects within the chart are cycled through and selected. Not what we want.
Solution #1
Hold Ctrl and Left Click the chart – This selects the shape object that the chart resides in. Circles will appear on each corner of the chart.
The chart can now be moved around on the sheet with the arrow keys, making it easy to align it with other shapes, charts, or cells in your worksheet.
Solution #2
Select multiple charts or shapes – Hold the Ctrl key and select at least two charts using left click. The bounding box will still look like the same as when you only have one chart selected, but you are able to move the charts with the arrow keys.
Move or Create a Shape Inside a Chart
Moving shapes inside a chart can get a bit confusing. Shapes, such as a text box or rectangle, can reside in two places:
- either inside the chart object,
- or on the worksheet (outside of the chart).
The confusing part is that a shape residing outside the chart on the worksheet can be placed on top of the chart. This makes it look like the shape is inside the chart even though it is not. In this case, when you move the chart, the shape will NOT move with it unless you have both the shape and the chart selected.
A shape located inside the chart will move with the chart. This makes it easier to move and align the chart because you don’t have to worry about selecting multiple objects when doing the alignment.
There are two ways to get a shape inside a chart:
- Create the shape inside the chart – First select the chart so the bounding box appears around it, then draw the shape inside the chart object area (Insert tab
> Shapes menu). - Paste a shape inside the chart – Cut or Copy an existing shape on your worksheet, then select the chart and paste the shape. This will put the shape inside the chart.
Move Shape Inside Chart with Arrow Keys
Now that your shape is residing inside your chart, you can use the arrow keys to move it around and align it with the other objects in your chart (title, axis, legend, etc.) See instructions below the screencast.
To move a shape inside the chart with arrow keys:
- Ctrl+Left Click the border of the chart so you get the circles on the corners.
- Then Ctrl+Left Click the shape inside the chart. You will notice that the circles remain on the top left corner of the chart.
- Keyboard arrows are now enabled so you can move and align your shape (text box) within the chart.
Conclusion
You should now be able to get all your charts and shapes lined up to perfection using the incremental movements of the arrow keys. This is very useful if you read my post on Panel Charts as an alternative to Stacked Charts and want to create panel charts. In a future post I will share more tips and shortcuts for aligning and viewing your charts.
What are some shortcuts you use to align your charts?