统计数字
选定区间A1:K1
提取区间A1:K1 字符串中$或@前的数字
统计数字中(大于600同时小于6000的)同时字符串中含有字母A的 有几个
SUMPRODUCT((--mid(A1:K1,1,FIND({"@","$"},A1:K1,1)-1)>600)*--mid(A1:K1,1,FIND({"@","$"},A1:K1,1)-1)<div></div>
选定区间A1:K1?
应该是B2:L2吧 =COUNT(0/TEXT(LEFT(SUBSTITUTE(SUBSTITUTE(B2:L2,"@","$"),"$",REPT(" ",9)),9),"[<=600]鱼;[>=6000]鱼;1")) 是,附件里是B2:L2
再加个条件同时字符串中含有字母A的 =VALUE(MID(B2,1,IFERROR(FIND("$",B2),(FIND("@",B2)))-1)) 统计数字中(大于600同时小于6000的)同时字符串中含有字母A的 有几个 =COUNTIFS(B6:L6,">"&600,B6:L6,"<"&6000) =COUNT(0/TEXT(LEFT(SUBSTITUTE(SUBSTITUTE(B2:L2,"@","$"),"$",REPT(" ",9)),9),"[<=600]鱼;[>=6000]鱼;1")/FIND("A",B2:L2)) =SUM(IF(ISERR(0/(FIND("A",B2:L2)*(VALUE(MID(B2:L2,1,IFERROR(FIND("$",B2:L2),(FIND("@",B2:L2)))-1))>600)*(VALUE(MID(B2:L2,1,IFERROR(FIND("$",B2:L2),(FIND("@",B2:L2)))-1))<6000))),0,1))
页:
[1]