Forum Discussion

cshanahan55's avatar
cshanahan55
Copper Contributor
Oct 26, 2020
Solved

SUMPRODUCT Function with Criteria for Visible Rows

I am trying to get the totals for a column in a table based on a condition.  In my example, I want to filter by a column (Fans) and then get the count for when the value for the column (Change) is a ...
  • HansVogelaar's avatar
    Oct 26, 2020

    cshanahan55 

    Here you go:

     

    =SUMPRODUCT((Table1[Change]<0)*SUBTOTAL(102,OFFSET(E4,ROW(Table1[Change])-MIN(ROW(Table1[Change])),0)))

Resources