• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How can I use sumif or sumproduct functions under the filter mode?

Bear

Member
Hi everyone

I have data in columns .. I need to use sumproduct or sumif functions and get the results for visible rows only
Is that possible by formulas?

Thanks!
 

Attachments

  • Copy of Table.xlsx
    11.6 KB · Views: 3
Hi Bear,

The trick is to create a helper column with a formula like:
=SUBTOTAL(103,A2)

Assuming there's something in A2, this formula result is 1 if the row is visible, and 0 if row is hidden. You can then include the helper column in your SUMIFS or SUMPRODUCT calculation as a criteria column.
 
Back
Top