如图:
在B1放上要找的关键字,比如 钳子
在C1输入公式:
=MID(A1,FIND($B$1&",",A1),FIND(CHAR(10),SUBSTITUTE(A1,MID(A1,1,FIND($B$1&",",A1)-1),"")&CHAR(10))-1)
下拉即可
附件可参考,提问者下载不需要财富值
B1输入:
=MID(A1,FIND("螺丝,",A1),FIND("个",A1,FIND("螺丝,",A1))-FIND("螺丝,",A1)+1)
注意下螺丝后面的逗号,看来原来像是中文逗号。
另外,如果不是每个单元格都有,防止出现错误值:
07版后用:
=IFERROR(MID(A1,FIND("螺丝,",A1),FIND("个",A1,FIND("螺丝,",A1))-FIND("螺丝,",A1)+1),"")
所有版本通用:
=IF(ISERROR(MID(A1,FIND("螺丝,",A1),FIND("个",A1,FIND("螺丝,",A1))-FIND("螺丝,",A1)+1)),"",MID(A1,FIND("螺丝,",A1),FIND("个",A1,FIND("螺丝,",A1))-FIND("螺丝,",A1)+1))
=MID(MID(A1,FIND("螺丝,",A1),99),1,FIND("个",MID(A1,FIND("螺丝,",A1),99)))
留意一下公式中”螺丝,“后的逗是全角还是半角,需改成和你数据中的一样。