Nesting functions - Countif ...

  • Thread starter Thread starter Dos Equis
  • Start date Start date
D

Dos Equis

Hi,

I'm trying to build a function which counts the number of subscribers
in a list by carrier. Column A has the carriers listed, Column O is
either "Yes" or blank If "Yes", then that address is on the Do Not
Deliver list and the entry should be excluded.I'd have thought I should
write a function that looked like:
=COUNTIF(A:A, Carrier) AND (O:O, " ")
That dosen't work nor does it work with enclosing parentheses.

My carriers are:
Angeline
Bruce
Gina
Terry

I can produce a count of their names, but since some of the entries are
DND's I end up with false results.

I've looked through three books and found out that it's not addressed
in any of them. Any help would be wonderful. Thanks,

Byron
 
=SUMPRODUCT(--($A$1:$A$100="Angeline"),--($O$1:$O$100=""))

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)
 
Bob,

That works perfectly. Would you please explain what you did?

Thank you,

Byron
 
Thank you very much. I think I know enough now to experiment with this
function and solve some of my other problems.

Byron
 

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