要闻

当前位置/ 首页/ 要闻/ 正文

excel包含关键字则返回相关值(excel包含)

导读 c1显示包含b1文字天?应当是c1显示"包含a1文字天"吧? =IF(MAX((LEN(SUBSTITUTE(B1,$A$1:$A$4,""))=LEN($A$1:$A$4))*ROW($A$1:$A$4))=0,"...

c1显示包含b1文字天?应当是c1显示"包含a1文字天"吧? =IF(MAX((LEN(SUBSTITUTE(B1,$A$1:$A$4,""))=LEN($A$1:$A$4))*ROW($A$1:$A$4))=0,"不包含","包含a"&(MAX((LEN(SUBSTITUTE(B1,$A$1:$A$4,""))=LEN($A$1:$A$4))*ROW($A$1:$A$4)))&"文字"&INDIRECT("A"&MAX((LEN(SUBSTITUTE(B1,$A$1:$A$4,""))=LEN($A$1:$A$4))*ROW($A$1:$A$4)))) CTRL+SHIFT+ENTER。

免责声明:本文由用户上传,如有侵权请联系删除!