I have been trying to do an excel formula but unable to find the right combination.
Aim: I want to COUNTIFS cells that are only visible after applying filters to the original dataset.
Current/Wrong output: 38
Correct output: 15
Here is the current formula:
=COUNTIFS(INDEX('Current Month'!$A:AJ,0,MATCH("Dryness + Absorbency",'Current Month'!$A$1:$AJ$1,0)),"POSITIVE")
I have already tried the subtotal but the values are wrong. Secondly, the subtotal function displays error with index/match function.
Here is what i tried:
=COUNTA(103,INDEX('Current Month'!$A:AJ,0,MATCH("Dryness + Absorbency",'Current Month'!$A$1:$AJ$1,0)),"POSITIVE")
I also tried replacing the COUNTA with SUBTOTAL but it shows error.
Hope someone could advice me on what syntax i can use to get the visible cells count and how i could incorporate it into my current formula. Thank you
