Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. 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: Sorting with Graphics.
by Allen Wyatt
(last updated March 26, 2019)
You already know that Excel allows you to place graphics in your worksheets. You may not know, however, that Excel allows you to sort graphics along with the regular data in your tables. For instance, you could create an inventory table that has the requisite part numbers, descriptions, and quantities. You could also include a column that shows a small picture of each inventory item. When you later sort the table, the pictures sort right along with the rest of the data in the table.
If you can't seem to make the graphics sort along with the other data in the table, keep these pointers in mind:
If your graphics still won't sort, the properties of the graphic may have been changed to prohibit sorting. Follow these steps if you are using Excel 2007:
Figure 1. The Properties tab of the Size and Properties dialog box.
The steps are different for users of Excel 2010:
If you are using Excel 2013 the steps are different still:
Figure 2. The Properties settings in the Format Picture task pane.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6139) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Sorting with Graphics.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
When you sort your data you should always check to see if the sort was done correctly. What if sorting messes up ...Discover More
Using the sorting tools, on the toolbar, may result in some unwanted results, such as jumbled data. If this happens to ...Discover More
Click the Sort tool in Excel, and you may be surprised that the data in your worksheet is jumbled. In order to sort ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.