The PODA Blog

News, views and articles from our membership

Simple MultiFilter for Excel

Posted by Derek Mang on September 25th, 2007

Data filtering is pretty common in Excel to show you only what you want to see.  Most commonly, the “Auto Filter” will provide a dropdown list of values found in a column and allow you to select one of the column values. Once selected, only rows that have the selected value are shown. 

Recently, a colleague was describing a situation he was faced with using a complex worksheet and was finding the built-in filtering capabilities either insufficient or too awkward, which has resulted in what I am sharing here - a simple multifilter addin. 

This addin provides for a little more than was originally sought - filtering to one or more rows in a column.

With this multifilter, a column, cell range in a column, row, and cell range in a row … can be filtered. The multifilter functionality pops up in various places - the main menu, column menu, row menu, and cell menu.  As long as you are filtering on one column or row, or a range within the column or row, you’re in business. 

Multifilter - Updated 'Data' menu item    Updated Context Menu    Updated Context Menu

Applying the filter is very easy.  Select a range, right-click, and select Multi-filter from the context menu.  You’ll get a small form with unique instances of the cell range values listed.

Column Filtering

Select one or more values and click OK. In the example below, only selected columns are shown.

Column Filtering - Filter Applied

Should your range include mulitple rows and columns, filtering is not available.

Multifilter Warning

When you’re done, click Reset to bring everything back into view. The addin is available for download here.

Multifilter.xla

I hope some will find this useful.

Regards
Derek

 

 

 

 

3 Responses to “Simple MultiFilter for Excel”

  1. kanwal_no1 Says:

    Hi Derek,

    I downloaded and installed the add-in, but it is giving “Run Time Error 13. Type Mismatch” error message. On clicking debug, it leads to highlighted line

    Set cbp1 = cbp.Controls(2)
    in Sub Resetmenus()

    I don’t see anything appearing on right-clicking a range.

    Regards
    CA kanwaljit Singh Dhunna
    India

  2. kanwal_no1 Says:

    Hi Derek,

    Have you read my previous comment ? If yes, do ping at www.excelkanwal@rediffmail.com as I don’t see any comments here.

    Regards
    CA kanwaljit Singh Dhunna
    India

  3. Derek Mang Says:

    Hi there

    Just saw this today.
    Still having trouble?

    dm

Leave a Reply

You must be logged in to post a comment.