I have googled and used this forum to figure out how to combine SUBTOTAL with other formulas. For instance, here's one formula I've used to calculate an average that ignores cells with a zero value: =AVERAGE((IF(SUBTOTAL(9,OFFSET(L$7,ROW(L$7:L$112)-ROW(L$7),0))<>0,SUBTOTAL(9,OFFSET(L$7,ROW(L$7:L$112)-ROW(L$7),0)))))
However, I'm not entirely sure what's going on in that formula and I have a more complicated formula that I'd like to reflect the filtered values. Here's the formula: =(COUNTIF(L7:L112, "<0"))/(COUNTIFS(L7:L112,"<>0",P7:P112,"=Yes"))
It works as intended (gives me a percentage that I'm looking for) but how would I change it to work with SUBTOTAL?
Bookmarks