bottom
Great ExcelTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > ExcelTips Home > Graphics > Sorting with Graphics

Sorting with Graphics

Summary: If the graphics that you insert in your worksheet meet a couple of simple requirements, it is possible to have those graphics be sorted right along with the data in the worksheet. This tip explains those requirements and explains how you can do the sorting. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, Excel 2003, and Excel 2007.)

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:

  • The graphics have to be sized so they fit completely within the cell. They cannot be taller or wider than the cell over which you placed them.
  • You should make sure that the sorting function is selecting the column in which your graphics have been placed. You can check this by seeing if the column is selected when you choose the Sort option from the Data menu.

If your graphics still won't sort, the properties of the graphic may have been changed to prohibit sorting. Follow these steps:

  1. Right-click on a graphic image. Excel displays a shortcut menu.
  2. Choose Format Picture from the shortcut menu. Excel displays the Format Picture dialog box.
  3. Make sure the Properties tab is selected. (Click here to see a related figure.)
  4. Make sure the Don't Move or Size with Cells option is not selected.
  5. Click on OK.
  6. Repeat steps 1 through 5 for all the graphics in the column.

In Excel 2007 you need to follow some different steps to change the graphic properties:

  1. Right-click on a graphic image. Excel displays a shortcut menu.
  2. Choose Size and Properties from the shortcut menu. Excel displays the Size and Properties dialog box.
  3. Make sure the Properties tab is selected. (Click here to see a related figure.)
  4. Make sure the Move and Size with Cells option is selected.
  5. Click on Close.
  6. Repeat steps 1 through 5 for all the graphics in the column.

Tip #2954 applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003 | 2007


Got the Time? Understanding the ins and outs of working with times and dates can be confusing. Remove the confusion--ExcelTips: Times and Dates is an invaluable resource for learning how best to work with times and dates.
 
Check out ExcelTips: Times and Dates today!

Helpful Links

Ask an Excel Question
Make a Comment

Tips.Net Home
Vital News Home

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

 

Great Info!

Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)