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

Versions Not Saving Correctly

If you use Word's versioning tool, you may notice that you sometimes get errors with the versions in your documents. This ...

Discover More

Enabling Macros for an E-mailed Workbook

When you send a macro-enabled workbook to someone, that person may have problems opening and using it. This tip looks at ...

Discover More

Setting Minimums and Maximums when AutoFitting Column Widths

Using AutoFit can help you maximize your use of screen space. In certain situations, though, it can make your data harder ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Adding a Line Shape of a Given Slope and Length

If you want to create a line in your worksheet that is a specific length and slope, there are a couple of ways you can do ...

Discover More

Placing a Picture in a Comment

When editing a worksheet, you can place comments or notes that are associated with individual cells. If you want, you can ...

Discover More

Drawing Simple Objects

Want to draw a few simple shapes or lines on your worksheet? It really is simple; here's how to do it.

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 six minus 4?

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.