Sell / Buy
Buy
Buy
Sell
Hi all, I have google sheet that has a lot of Data However, i want to count number of "Buy" and "Sell" based on filtering the dates NOT the whole column ONLY VISIBLE rows
The code i'm trying to use is the below
=SUMPRODUCT(SUBTOTAL(9,OFFSET(E4,ROW(E4:E100)-ROW(E4),,1)),--(E4:E100 = "Buy"))
i'm really having bad time solving this issue, i would greatly appreciate if someone can help me with the code.
thank you.





