Looking to count the number of times a string of specific text occurs in a column
I want to use a count formula to determine the number of times a SKU occurs in an open text column.
Below is the formula for the highlighted cell:
=COUNTIF(SKU:SKU, CONTAINS("SKU2", @cell))
The value I am looking for is 3 because SKU2 appears 2 times in the 3rd row and once in the 2nd row.
Any insights on how to count this?
Many thanks,
Answers

Hi @riouxs
I think the issue here is that you have several data points in your third row. The formula is counting whether it is present or not  not how many times per cell.
The formula would work better if you made sure each cell/ row contained one data set.
The above would work if you had one data set per cell and used : =COUNTIF(SKU1:SKU9, "SKU2")
Although there might be a more clever way of doing it  I have attempted using multiple select dropdown columns but it still only counts one per cell.
Alex
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 10.7K Get Help
 63 Global Discussions
 69 Industry Talk
 385 Announcements
 3.5K Ideas & Feature Requests
 55 Brandfolder
 125 Just for fun
 50 Community Job Board
 464 Show & Tell
 40 Member Spotlight
 44 Power Your Process
 28 Sponsor X
 234 Events
 7.3K Forum Archives
Check out the Formula Handbook template!