Reputation: 51
Having an excel column as below:
I need to find out the number of words in the column.
Upvotes: 0
Views: 45
Reputation: 37050
Try below formula-
=LEN(A2)-LEN(SUBSTITUTE(A2,",",""))+1
For dynamic spill array.
=MAP(A2:A5,LAMBDA(x,LEN(x)-LEN(SUBSTITUTE(x,",",""))+1))
Upvotes: 2