Hi Excel VBA Genii,
I know how to count the number of non-blank cells in an AutoFiltered list using a formula like:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(F26,ROW(F26:F247)-ROW(F26),0)),(F26:F247″”)+0)
but I’m darned if I’ve been able to come up with a formula to count the number of instances of a specific value within the AutoFiltered column.
My AutoFiltered column looks like this:
I want to be able to count the number of instances of “Trine, 240°” or “Opposition, 180°” etc.
I’ve tried:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(F26,ROW(F26:F247)-ROW(F26),0)),(F26:F247=”Trine, 240°”)+0)
but that hasn’t worked.
Any bright ideas on how to do this?
Thanks in anticipation.
Cheers
Trevor