2013-03-12 112 views
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 __) 

请帮忙用2010 EXCEL

+0

你能解释一下单元格的值吗? – AsepRoro 2013-03-12 08:50:15

回答

0

你可以试试这个公式中的B1抄下

IM?

=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) 

enter image description here

图像0​​和open in new tab看到它在全尺寸。

根据MVP Ron Coderre的代码MrExcel