Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Grouping and Ungrouping Objects.

Grouping and Ungrouping Objects

Written by Allen Wyatt (last updated October 16, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


2

Excel provides a feature found in many graphics programs—the ability to group graphics objects. For instance, you can spend a great deal of time positioning graphics objects in just the right position in order to achieve a desired effect. It is not unusual to create compound objects that are comprised of dozens of smaller objects.

Rather than risk getting the objects out of order or having their positions changed, you can group them so that they are treated as a single object. This is done by selecting all the objects you want grouped together (hold down the Shift key as you select each object you want in the group).

Finally, right-click on one of the images in the group. Excel displays a Context menu from which you should choose Group | Group. Notice that the individual handles for each object disappear, and instead, handles appear around a rectangle that encompasses all the objects in the group.

If you later want to ungroup the objects, simply right-click the group and choose Group | Ungroup.

Note, as well, that this tip refers to grouping graphics objects, not grouping charts or portions of charts. (Charts are an object in Excel, but they are not a graphics object.)

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10036) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Grouping and Ungrouping Objects.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Printing Limited Pages from a Range of Worksheets

Need to print just a few pages from a group of worksheets? The easiest way to handle the task may be through a macro, as ...

Discover More

Pointing PivotTables to Different Data

Changing the data source PivotTables go to can be a bit tricky. This tip explains what can happen when you re-point your ...

Discover More

Spelling Out Page Numbers

If your document is more than a couple of pages long, adding page numbers is a nice finishing touch. If you want, you can ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (ribbon)

Capturing a Screen

A picture is worth a thousand words, but getting the pictureâ€""particularly a screen shotâ€""into a workbook may seem ...

Discover More

Creating a JPG File from a Chart

Excel provides some great tools that allow you to create amazing charts based on data in your worksheets. Once your ...

Discover More

Changing a Shape

Need to change a shape you previously added to your worksheet? It's easy to do using the graphics tools provided by ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 8?

2021-10-18 16:01:24

Mike D.

Sorry, my words did not come out properly in the second paragraph of my post, this is what it was supposed to look like.

This is because when you resize a column or row, objects in their range will change shape and size if you don't. If different objects inside the group are set different from each other some will change shape and size and others will not. This will mess up object to object spacial relationships inside the grouping.


2021-10-18 08:32:20

Mike D.

I do this all the time with my graphical spreadsheets. I thought I would share a couple of things I have discovered along the way.
Make sure all of the objects, pictures, text boxes, shapes (e.g. arrows) have their properties set with "Move but don't size" or "Don't move or size with cells".

This is because when you size a column or row objects in their range will change shape if you don't. If some are set don't size and other are not different objects inside the group will change and other will now messing everything up inside the grouping.

When you right click inside the objects you want to group do not right click on a text box. This will un-select everything except the text box and go to "edit text box" mode. However there is one way you can get the pop up menu if you are grouping text boxes, press and hold the 'Shift' key when right clicking.

I hope this help you to not make the learning mistakes I have made (more than once) when grouping objects.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.