Home > Back-end >  Count the strings inside an excel column
Count the strings inside an excel column

Time:12-12

Having an excel column as below:

excel

I need to find out the number of words in the column.

mg

CodePudding user response:

Try below formula-

=LEN(A2)-LEN(SUBSTITUTE(A2,",","")) 1

For dynamic spill array.

=MAP(A2:A5,LAMBDA(x,LEN(x)-LEN(SUBSTITUTE(x,",","")) 1))

enter image description here

CodePudding user response:

If you have TEXTSPLIT:

=COUNTA(TEXTSPLIT(A1,","))

  • Related