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

Small Printing with Different Word Versions

A few places to check if the printout differs from the original document.

Discover More

Deleting a Header

Each new Excel worksheet contains a page header, by default. Follow this tip to get rid of headers you don't need.

Discover More

Deleting a Header or Footer

When working with existing documents, you may need to delete a header or footer previously created. Here's how you can do ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Creating an Organization Chart

Graphics are often added to worksheets to make it easier to understand the data contained in the worksheet. Sometimes, ...

Discover More

Deleting Graphics when Deleting a Row

If you use Excel to keep a graphic with each row of data you amass, you may wonder if there is a way to easily delete the ...

Discover More

Adding and Formatting a Shape via Macro

Excel makes it rather easy to add shapes to your worksheets. If you add a lot of shapes, you quickly discover that it can ...

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 1 + 1?

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.