Sandy_Patel
New Member
Hello
I have excel sheet in which cell A1 is empty. Cell A2 contains text as Alice . Cell A3 contains formula as
=COUNTIF(A2,"*"&A1&"*")
Result of this formula is 1
I put star before and after A1 in formula of COUNTIF means excel match anything from cell A1 with cell A2.
So what does excel match similar between cell A1 and cell A2 so formula gives result 1.
There is not anything in cell A1 so result of this formula should be zero
Could any one explain why I get result 1 ? I think, above formula should give result zero (0) because
If I remove two star in above formula then result is zero so I understand this.
Find sheet to have a look .
Thanks
I have excel sheet in which cell A1 is empty. Cell A2 contains text as Alice . Cell A3 contains formula as
=COUNTIF(A2,"*"&A1&"*")
Result of this formula is 1
I put star before and after A1 in formula of COUNTIF means excel match anything from cell A1 with cell A2.
So what does excel match similar between cell A1 and cell A2 so formula gives result 1.
There is not anything in cell A1 so result of this formula should be zero
Could any one explain why I get result 1 ? I think, above formula should give result zero (0) because
If I remove two star in above formula then result is zero so I understand this.
Find sheet to have a look .
Thanks