Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default countif with a condition and contains @

Try this:

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

Adjust the ranges to suit your data.

Hope this helps.

Pete

On Mar 17, 4:04*pm, whyrajesh wrote:
Hello all

column 1 * *column 2

M&P * * * * * xy.yahoo.com
others * * * *
M&P * * * * *
M&P * * * * * BLANK
others * * * *
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


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default countif with a condition and contains @

On Mar 17, 6:27*pm, Pete_UK wrote:
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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
countif where condition should be met SCC Excel Worksheet Functions 3 September 28th 09 08:47 PM
COUNTIF - Condition Sandesh Excel Discussion (Misc queries) 7 August 24th 08 08:58 AM
COUNTIF - more than one condition Gary Excel Worksheet Functions 4 May 8th 07 08:46 PM
Compound condition with COUNTIF Mike McLellan Excel Discussion (Misc queries) 1 November 29th 05 10:50 AM
countif condition problem Scott Excel Worksheet Functions 8 November 11th 05 08:59 AM


All times are GMT +1. The time now is 06:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"