发布网友 发布时间:2022-04-26 13:30
共3个回答
热心网友 时间:2023-10-09 17:32
A1单元格字符串里包含A的数量
=LEN(A1)-LEN(SUBSTITUTE(A1,"A",))
A1单元格字符串里包含B的数量
=LEN(A1)-LEN(SUBSTITUTE(A1,"B",))
A1单元格字符串里包含A、B的数量
=LEN(A1)-LEN(SUBSTITUTE(SUBSTITUTE(A1,"A",),"B",))
热心网友 时间:2023-10-09 17:32
用公式:
=SUMPRODUCT(--(LEN(SUBSTITUTE(SUBSTITUTE(A1:A100,"A",""),"B",""))<LEN(A1:A100)))
热心网友 时间:2023-10-09 17:33
=SUM(IF((ISNUMBER(FIND("A",B2:B9)) + ISNUMBER(FIND("B",B2:B9)),1,0))
CTRL SHIFT ENTER 结束 数组函数
B2:B9为数据范围