K
Kevin Lyons
Hello,
I have a spreadsheet that I need to count those cells (once) which contain
the word "delta"
Cell A2 contains: delta
Cell B2 contains: =COUNTIF($E$2:$E$20,"*"&A2&"*")
The actual count for that range should be 11, but it is returning only 9.
For example, Cell E6 contains:
Product Overview Over Sweat Bring Positioning New Boxing Football Baseball
Positioning New Features Competitive Ping Pong Features Competitive Order
Cash Heaven e.g. Topics Linux Under Friend Delta Always Do They Have To
Enjoy The Same Pranks Just Leave Me Alone
The above formula counts the occurrence of delta, but Cell E5 contains:
Product Overview Positioning New Features Competitive Order to Cash
FundamentalsProduct Features and Functionality eg ProcessConnect i General
Ledger Management Advanced Financial BudgetingSpecialization Compliance
training Ethics Sexual Harassment Delta product features Incentive
Compensation Functional Overview
For the life of me I cannot figure out why it is not counting it or the
delta in Cell E13.
Additionally, in case there is a problem with the data itself or the
formula, I can arrive at the correct results with either of the following
array formulas:
{=COUNT(SEARCH(A2,E2:E20))}
{=SUM(IF(ISERROR(SEARCH(A2,E2:E20)),0,1))}
However, I really want to understand why the formula in Cell B2 does not
work properly. Does anyone have any thoughts as to figuring out why the
formula isn't working as it should?
Thanks much,
Kevin
I have a spreadsheet that I need to count those cells (once) which contain
the word "delta"
Cell A2 contains: delta
Cell B2 contains: =COUNTIF($E$2:$E$20,"*"&A2&"*")
The actual count for that range should be 11, but it is returning only 9.
For example, Cell E6 contains:
Product Overview Over Sweat Bring Positioning New Boxing Football Baseball
Positioning New Features Competitive Ping Pong Features Competitive Order
Cash Heaven e.g. Topics Linux Under Friend Delta Always Do They Have To
Enjoy The Same Pranks Just Leave Me Alone
The above formula counts the occurrence of delta, but Cell E5 contains:
Product Overview Positioning New Features Competitive Order to Cash
FundamentalsProduct Features and Functionality eg ProcessConnect i General
Ledger Management Advanced Financial BudgetingSpecialization Compliance
training Ethics Sexual Harassment Delta product features Incentive
Compensation Functional Overview
For the life of me I cannot figure out why it is not counting it or the
delta in Cell E13.
Additionally, in case there is a problem with the data itself or the
formula, I can arrive at the correct results with either of the following
array formulas:
{=COUNT(SEARCH(A2,E2:E20))}
{=SUM(IF(ISERROR(SEARCH(A2,E2:E20)),0,1))}
However, I really want to understand why the formula in Cell B2 does not
work properly. Does anyone have any thoughts as to figuring out why the
formula isn't working as it should?
Thanks much,
Kevin