1

我想提取"eirnan"加上其他数字,然后是它。我找不到任何匹配的解决方案。

例子

Please indicate/  the correct salesman id (Should be _Eirnan413431 _)
Please indicateEirnan3659 /  the correct salesman id (Should be __)
Please indicate / Eirnan84215; the correct salesman id (Should be __)
Eirnan421/Please indicate /  the correct salesman id (Should be __)
Please indicate/  the correct salesman id Eirnan4752151 /(Should be __)

请帮忙

我正在使用 EXCEL 2010

4

1 回答 1

0

你能在 B1 中尝试这个公式并复制下来吗?

=MID(A1,FIND("Eirnan",A1,1),MAX(INDEX(ISNUMBER(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))*ROW(INDIRECT("1:"&LEN(A1))),0))-FIND("Eirnan",A1,1)+1)

在此处输入图像描述

Right click在图像上并open in new tab以全尺寸查看。

基于 MVP Ron Coderre 在MrExcel上的代码。

于 2013-03-12T10:04:41.487 回答