Category: FILTERS

Display auto filter criteria in a cell

{2 Comments}

Assume data in range D6:E11 - months in D6:D11 and numbers in E6:E11.  Headings are in D5:E5.  On filtering multiple values in column D, one may want to view the filtered criteria in cell (separate criteria by comma for multiple selections in auto filter drop down).

For solving this problem, you will have to download and install the morefunc addin from here.  For instructions of installing the addin for Excel 2010, please refer point 4 of the following post.  This add in will enable us to use the following two functions

1. UNIQUEVALUES(); and
2. MCONCAT()

You may refer to my solution in this workbook.

Sequencing using advanced filters

{0 Comments}

Assume a three column database of Article Number, Size and Quantity.  The size column may have five sizes - Small, Medium, Large, XL and XXL.  Not all sizes will be available for every article number.  The task is to create a three column database in another worksheet, which shows only those article numbers having all five sizes and their respective quantities.

You may refer to the source data and solution in this workbook.

Depending upon the version of MS Excel which you are using, there could be two ways to solve this problem

Solution for MS Excel 2010 and higher versions

If you are using the Power Query add-in, then a few simple steps (no formulas at all) can solve this problem.  The result will be dynamic and refreshable (just as in a Pivot Table).

Solution for all versions of MS Excel

This solution uses the SUMPRODUCT() and Advanced Filters.