Please Note: This article is written for users of the following Microsoft Excel versions: 2007 and 2010. 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: Hiding Graphics when Filtering.

Hiding Graphics when Filtering

Written by Allen Wyatt (last updated March 12, 2024)
This tip applies to Excel 2007 and 2010


1

James has a worksheet that has graphics on top of cells that explain what is in the cells. The graphics sort with the cells just fine, but when he applies filters to the cells, the graphics bunch up at top of cells that are visible. James wonders if there is a way to have graphics hide when filtering data within cells.

The answer has to do with how you have the properties for the graphics set up. You need to make sure that the graphics are set to resize when the row height changes. Here's what you do:

  1. Select the graphic (or graphics) whose properties you want to modify.
  2. Right-click the graphic (or graphics). Excel displays a Context menu.
  3. Choose Size and Properties from the shortcut menu. Excel displays the Size and Properties dialog box.
  4. Make sure the Properties tab is selected. (See Figure 1.)
  5. Figure 1. The Properties tab of the Size and Properties dialog box.

  6. Make sure the Move and Size with Cells check box is selected.
  7. Click OK.

It is step 5 that does the trick here. Since your graphics are sorting properly when you sort the worksheet, chances are good that you had the Move but Don't Size with Cells check box selected. This is what caused the graphics to bunch up—they couldn't resize when filtering hid the rows with which they were associated.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (11763) applies to Microsoft Excel 2007 and 2010. You can find a version of this tip for the older menu interface of Excel here: Hiding Graphics when Filtering.

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

Text Prints as Bold, but Displays as Regular

What to do when text looks one way on the screen but prints a different way? This tip provides several different ...

Discover More

Counting Cells According to Case

Text placed in cells can either be lowercase, uppercase, or a mixture of the two. If you want to count the cells based ...

Discover More

Permanent Watermarks in a Document

Need to add a graphic watermark to a document? It's not that hard to do, but making the watermark permanent can be a bit ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (ribbon)

Having an Image Appear Multiple Times in a Worksheet

If you want an image to appear more than once in a worksheet, there are a few ways you can approach the issue. This tip ...

Discover More

Watermarks in Excel

Excel is great at printing numbers on a piece of paper, but terrible at printing watermarks. This is apparently by ...

Discover More

Setting the Default Fill Color for a Shape to None

When you insert a shape into a worksheet, Excel does some preliminary formatting on that shape. You can subsequently make ...

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 two less than 9?

2012-07-19 10:46:22

Graphic_Filter

I tried this out but it doesn't work. Graphics won't disappear. But then I gave all involved graphics the "in the background" property and: it worked!


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.