countif with a condition and contains @

W

whyrajesh

Hello all

column 1 column 2

M&P xy.yahoo.com
others (e-mail address removed)
M&P (e-mail address removed)
M&P BLANK
others (e-mail address removed)
M&P mn.gmail.com

From the table above , I want to count M&P which doesnt contain @ in
Column 2

So here the answer should be 3.

Someone please help me with the formula !!!!

Thanks alot for the help

RYAN
 
P

Pete_UK

Try this:

=SUMPRODUCT(--(A1:A20="M&P),--(NOT(ISNUMBER(SEARCH("@",B1:B20)))))

Adjust the ranges to suit your data.

Hope this helps.

Pete
 
W

whyrajesh

Try this:

=SUMPRODUCT(--(A1:A20="M&P),--(NOT(ISNUMBER(SEARCH("@",B1:B20)))))

Adjust the ranges to suit your data.

Hope this helps.

Pete


Hello Pete

Thank you so much for the reply

But unfortunately, this formula is not working ..I am getting some
value ,,,but it was not showing the result..showing different figures

Can you please find any another solution for me...

Thanks alot
 

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