Need to count based on different criteria in two columns

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello. I am trying to count the number of Items in Col A that have
[videorecording] and a value of greater than 0 in Col E.

For example:

Col A Col E
Broadway! [videorecording] 1


What I have so far is:
=COUNTA(IF((A2:A203="*videorecording*")*(E2:E203>0),A2:A203))

I get a return of 1, which I know is wrong. Just doing a quick glance, I
see 5.

Any help is appreciated.

Thanks.

adlin
 
=SUMPRODUCT(--(ISNUMBER(FIND("videorecording",A2:A203))),--(E2:E203>0))


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
It worked! Thanks so much!

Adlin

Bob Phillips said:
=SUMPRODUCT(--(ISNUMBER(FIND("videorecording",A2:A203))),--(E2:E203>0))


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

Adlin said:
Hello. I am trying to count the number of Items in Col A that have
[videorecording] and a value of greater than 0 in Col E.

For example:

Col A Col
E
Broadway! [videorecording] 1


What I have so far is:
=COUNTA(IF((A2:A203="*videorecording*")*(E2:E203>0),A2:A203))

I get a return of 1, which I know is wrong. Just doing a quick glance, I
see 5.

Any help is appreciated.

Thanks.

adlin
 

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

Back
Top