Excel Forum
Similar Content
Split Text into Multiple Cells in Excel
Tutorial: How to split text from one cell into multiple cells quickly and easily in Excel.  This in...
Count Cells that Contain Specific Text in Excel
Tutorial: Simple formula to count the occurrence of any text value in a cell or range of cells in E...
Filter Results in Excel to Show Only Those that End With Specified Text or Words - AutoFilter
Macro: This free Excel macro filters data to display results that end with certain words, text, o...
Excel VBA Course
Excel VBA Course - From Beginner to Expert

200+ Video Lessons
50+ Hours of Video
200+ Excel Guides

Become a master of VBA and Macros in Excel and learn how to automate all of your tasks in Excel with this online course. (No VBA experience required.)

View Course




Excel Magic Trick 290: Count Codes From Column of Text Strings


See how to count codes from a column of text strings that hah multiple codes. For example: If we are counting PCP in this list: {"PCP, TP, N, N, PA";"N, N, PA";"PCP, N, PA";"TP, N, NP"} we would want to get 2.
See a formula that counts that uses the SUMPRODUCT, LEN and SUBSTITUTE functions.
LEN & SUBSTITUTE functions Counting Tricks





Got a Question? Ask it Here in the Forum.