Forum Discussion
JXHK_22
Dec 14, 2022Copper Contributor
Counting text strings with variations
I would like to count the occurrence of the text string "ama" within a column, e.g.
=COUNTIF(A1:A6000),"*ama*")
However, I would also like to count other variations: amas, ama's, AMA, AMAs, AMA's
without capturing text like "Amanda" that features the string "ama".
Appreciate advice on how to approach this!
- peiyezhuBronze Contributor
without capturing text like "Amanda" that features the string "ama". on my side it works
- JXHK_22Copper ContributorHi there. Thanks for your help, but not sure that I understand. I mean that I would like to count all variations as a standalone string (ama, amas, ama's, AMA, AMAs, AMA's) but not any instances where the string appears within another word such as Amanda.
- peiyezhuBronze Contributorpleaseļ¼
Attach a sample excel file to your post. Show input and desired output.