Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
countif where condition should be met | Excel Worksheet Functions | |||
COUNTIF - Condition | Excel Discussion (Misc queries) | |||
COUNTIF - more than one condition | Excel Worksheet Functions | |||
Compound condition with COUNTIF | Excel Discussion (Misc queries) | |||
countif condition problem | Excel Worksheet Functions |