Trying to count text for filtered column based on formula

G

Guest

I'm using the formula below to count records based that are >0 . I need to do
the same in a column that has text. Need to count "Cash". Get error

=SUMPRODUCT(SUBTOTAL(3,OFFSET(date_new,ROW(date_new)-MIN(ROW(date_new)),,1)),--(date_new,"cash:))
 
G

Guest

try:

=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX(date_new,1,1),ROW(date_new)-ROW(INDEX(date_new,1,1)),0))=1),--(date_new="cash"))

hope this helps
Rowan
 
G

Guest

Rowan,
Thanks. That worked great.

Rowan said:
try:

=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX(date_new,1,1),ROW(date_new)-ROW(INDEX(date_new,1,1)),0))=1),--(date_new="cash"))

hope this helps
Rowan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top