Can partial text cell be found and used in CountIf formula?

%3CLINGO-SUB%20id%3D%22lingo-sub-1450754%22%20slang%3D%22en-US%22%3ECan%20partial%20text%20cell%20be%20found%20and%20used%20in%20CountIf%20formula%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1450754%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20anyone%20help%3F%26nbsp%3B%20I%20need%20to%20identify%20cells%20containing%20a%20particular%20string%20and%20then%20use%20COUNTIF%20formula%20to%20group%20items.%26nbsp%3B%20There%20is%20no%20standard%20format%20for%20the%20items'%20names%2C%26nbsp%3B%20Not%20sure%20that%20you%20can%20do%20this.%26nbsp%3B%20Any%20suggestions%20please.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1450754%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1450798%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20partial%20text%20cell%20be%20found%20and%20used%20in%20CountIf%20formula%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1450798%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F693865%22%20target%3D%22_blank%22%3E%40SweetScent%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%20it%20can.%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%3DCOUNTIF(A1%3AA100%2C%22*%22%26amp%3Bstring%26amp%3B%22*%22)%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1450983%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20partial%20text%20cell%20be%20found%20and%20used%20in%20CountIf%20formula%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1450983%22%20slang%3D%22en-US%22%3EThank%20you.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi

 

Can anyone help?  I need to identify cells containing a particular string and then use COUNTIF formula to group items.  There is no standard format for the items' names,  Not sure that you can do this.  Any suggestions please.

2 Replies
Highlighted

@SweetScent 

Yes, it can.

=COUNTIF(A1:A100,"*"&string&"*")
Highlighted