根据A列截取得到B列
截取A列镇或者处后面的内容放到B列=IFERROR(RIGHT(A1,LEN(A1)-(FIND("办事处",A1)+2)),RIGHT(A1,LEN(A1)-(FIND("镇",A1)))) REPLACE(A1,1,MIN(FIND({"处","镇"},A1&"处镇")),) =SUBSTITUTE(A1,LEFT(A1,MAX(IFERROR(FIND({"处","镇"},A1),""))),"")三键结束 下拉 =TRIM(RIGHT(SUBSTITUTE(SUBSTITUTE(A1,"处","镇"),"镇",REPT(" ",99)),99)) =REPLACE(A1,1,MIN(FIND({"处","镇"},A1&"处镇")),)
=RIGHT(A1,LEN(A1)-MIN(FIND({"处","镇"},A1&"处镇"))) =MID(A1,MIN(FIND({"处","镇"},A1&"处镇"))+1,9) =MID(A3,SUM(IFERROR(FIND({"处";"镇"},A3,1),0))+1,9)
页:
[1]