Saturday, December 21, 2019


This add-in will help you filter and analyze results for long formulas using SumIfs, CountIfs, or AverageIfs functions, and it's FREE!


The Problem

The IFS functions are great for finding a result based on multiple criteria.  But the formulas can quickly grow in size and become difficult to understand.
Have you ever seen a formula that looks like this and wondered what it was calculating?
Long Excel SUMIFS Excel Formula Box
It's very difficult to quickly analyze this formula and know what criteria are being summed in the ‘Sales Data' worksheet.
This formula is actually summing the Qty column in the following table based on five different criteria for Rep ID, Region, Product, Color, and Size.
Long Excel SUMIFS Formula
This is easier to see if the formula is located on the same sheet as the source data (as shown above).  Most of the time you will have the summary calculations on a separate sheet from the source data, meaning you will have to flip back and forth between tabs to analyze and troubleshoot your formula.
The Functions Argument window can help…
SUMIFS Functions Argument Window
But often times I find myself manually filtering the source table for all the criteria so I can view the rows that are being summed.  This can become a very time consuming task when troubleshooting long formulas.
Manual Filter Sumifs Formulas

The Solution

To make this process faster I developed a simple add-in that automatically filters the source data based on the criteria in the SUMIFS, COUNTIFS, or AVERAGEIFS function.

Ifs Filter Add-in Screenshot

How it Works

When the “Filter Formula in Selected Cell” button in the add-in window is pressed, the add-in will filter the source data for all the criteria in the formula.  The Field Names and Criteria will also be listed in the listbox on the add-in window.
These are two great features that make it very fast and easy to see exactly what your formula is calculating.  This add-in has saved me a tremendous amount of time, especially when working with someone else's model where I am not familiar with the formulas.

Quick Guide

  1. Once the add-in is installed, the “IFs Filter” button will be added to the Add-ins tab of the ribbon.
  2. Pressing this button opens the add-in window.
  3. Select any cell that contains an *IFS formula and press the “Filter Formula in Selected Cell” button.  
  4. The source data will automatically be filtered based on the formula's criteria, and the fields and criteria will be listed in the listbox on the form window.

Open Source Project

The VBA project is unlocked and the code is free for you to manipulate.  It can definitely be enhanced further and I would like to hear your ideas and feature requests.
Please leave a comment at the bottom of the page with any questions or suggestions.


 IFs Filter (862.1 KB)
The zip file includes the add-in file and installation instructions.  It is compatible with Excel 2007, 2010, and 2013.  The SUMIFS, COUNTIFS, and AVERAGEIFS functions were introduced in Excel 2007, so there is no need for compatibility with a prior version.

Feature Request List

Here are a few features I would like to add, and maybe this will spark some ideas for more.
  • Add a button to go back to the cell that contains the formula.
  • Display the cell address of the formula on the form (add-in window).
  • Add check boxes to the listbox so specific column filters can be cleared and reapplied.
Please leave a comment to vote for these features or request others.
#evba #etipfree
📤You download App installed directly on the latest phone here :

Popular Posts