Good day everyone.
I'm struggling to get my head around a bit of formula where I use a COUNTIF function, but have the result subtotal when a filter is applied.
I have a list of values in column V; my code currently just looks in that range and counts the amount of times the values are equal to or greater than "5":
I was wondering if someone could advise me on how to amend this formula so if an autofilter is applied, it then subtotals.
I feel is has something to do with SUMPRODUCT; I've looked on various forums and websites but struggling to apply anything to my code for it to work.
All help is greatly appreciated.
Thank you.
Kind regards
Marhier
I'm struggling to get my head around a bit of formula where I use a COUNTIF function, but have the result subtotal when a filter is applied.
I have a list of values in column V; my code currently just looks in that range and counts the amount of times the values are equal to or greater than "5":
Code:
=IFERROR(COUNTIF(V16:V1016,">5")+COUNTIF(V16:V1016,"5"),"")
I was wondering if someone could advise me on how to amend this formula so if an autofilter is applied, it then subtotals.
I feel is has something to do with SUMPRODUCT; I've looked on various forums and websites but struggling to apply anything to my code for it to work.
All help is greatly appreciated.
Thank you.
Kind regards
Marhier
Last edited: