Gilberto Fernandez
New Member
- Joined
- Jun 6, 2009
- Messages
- 4
Hello,
Im currently using this formula to count cells that match the contents of another cell. It works perfectly only counting visible cells.
=SUMPRODUCT(--($A$12:$A$50000=A50003),(SUBTOTAL(103,OFFSET($A$12,ROW($A$12:$A$50000)-MIN(ROW($A$12:$A$50000)),,))))
I need another formula to count cells with the condition that its value lies between the values of two reference cells. I tried to modify the above formula but its not working.
=SUMPRODUCT(--($A$12:$A$50000>G50003),($A$12:$A$50000<=H50003),(SUBTOTAL(103,OFFSET($A$12,ROW($A$12:$A$50000)-MIN(ROW($A$12:$A$50000)),,))))
Any ideas?
Thanks,
Gilberto
Im currently using this formula to count cells that match the contents of another cell. It works perfectly only counting visible cells.
=SUMPRODUCT(--($A$12:$A$50000=A50003),(SUBTOTAL(103,OFFSET($A$12,ROW($A$12:$A$50000)-MIN(ROW($A$12:$A$50000)),,))))
I need another formula to count cells with the condition that its value lies between the values of two reference cells. I tried to modify the above formula but its not working.
=SUMPRODUCT(--($A$12:$A$50000>G50003),($A$12:$A$50000<=H50003),(SUBTOTAL(103,OFFSET($A$12,ROW($A$12:$A$50000)-MIN(ROW($A$12:$A$50000)),,))))
Any ideas?
Thanks,
Gilberto