Forum Discussion
Wkeith
Helper II
7 years agoCount of Text Strings in A Specific Cell
Hi, I am trying to count the number of times the character "-" appears in each cell for a column in my table. I want this measure to be in the calculated column format. Here is my expected result: ...
- 7 years ago
Hi,
Try this calculated column formula
=len(Data[Phrase])-LEN(SUBSTITUTE(Data[Phrase],"-",""))
Hope this helps.
Ashish_Mathur
Super User
7 years agoHi,
Try this calculated column formula
=len(Data[Phrase])-LEN(SUBSTITUTE(Data[Phrase],"-",""))
Hope this helps.