countif help

S

saybut

Hi,

Could anyone tell me how to/if its possible to use count if but specif
several criteria for the same count?

I currently have one =countif(E:E,"DAR") I'm trying to sum up, "DAR"
"DAC", "DAO" in the same cell. I thought something lik
=countif(E:E,"DAR","DAC","DAO") but it doesnt work & I can't figure ou
what to do!

any help is greatly appreciated
 
R

Ron Coderre

Try this:

A1: =SUMPRODUCT(COUNTIF(E:E,{"DAR","DAC","DAO"}))

(Note the curly braces around the criteria array)

Does that help?

Regards,
Ro
 
G

Guest

Hi

Use three separate COUNTIFs and add them together:
=countif(E:E,"DAR") + countif(E:E,"DAO") + countif(E:E,"DAC")

Andy.
 
S

saybut

Hi Ron,

thats brilliant thanks. It works a treat. I don't know if you change
your post but it came through on email as "sumproduct" rather than jus
"sum". The both do the same though.

Thanks again.

mark
 
R

Ron Coderre

Mark

Thanks for the feedback...I'm glad that worked for you.

Yeah...I edited the post to change it from SUMPRODUCT to SUM.
I thought I could finish the edit before the forum posted up to th
newsgroups...but, evidently not.

Regards,
Ro
 

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

Similar Threads

Excel Need Countifs Formula Help 0
Countif ? 3
Count if not blank... 4
Countif with a Range of criteria 8
countifs criteria 4
Using a sub string in a COUNTIF 2
=Countif(range, criteria) 2
countif 3

Top