计算Excel列中的字符串数

2ekbmq32  于 2022-12-14  发布在  其他
关注(0)|答案(2)|浏览(118)

Having an excel column as below:

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

6qqygrtg

6qqygrtg1#

尝试以下公式-

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

用于动态溢出数组。

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

jvlzgdj9

jvlzgdj92#

如果您有TEXTSPLIT
=COUNTA(TEXTSPLIT(A1,","))

相关问题