Using formulas within a filter

Copper Contributor

Please help! I am charge with doing usage analysis in my company. We have usage stats and make a lot of use of filters. But if I am using a filter, how do I make a formula using only the numbers in a filter. For instance, I used a filter to only show one content type (book discussion guides). But when I try to use the auto sum button to show the average usage of book discussion guides, it makes a formula using all the types, including the ones I filtered out. I know I can use 101 to make a sum formula with only numbers in the filter. Is there a way to do this with averages, as well? I am tired of counting cells. 

2 Replies

@zeethelibrarian 

See the SUBTOTAL and AGGREGATE functions.

@zeethelibrarian 

 

I don't know which type of Filter you have been using. IF you are using the relatively new FILTER function you could nest that within a SUM or AVERAGE function and it would count only the cells that met the criteria in the FILTER function. Here are two good places to start to understand the FILTER function (which, by the way, requires the newest edition of Excel).

https://www.youtube.com/watch?v=9I9DtFOVPIg

and 

https://exceljet.net/excel-functions/excel-filter-function