从文本中获取产品代码

时间:2017-06-29 08:05:32

标签: excel excel-formula

我需要从没有VBA的字符串中获取产品代码,例如:

  1. this is product KAK 8732
  2. this is product YUI 889
  3. this is product SM 001
  4. 我想获得产品代码:

    1. KAK 8732
    2. YUI 889
    3. SM 001
    4. 请帮助,谢谢

2 个答案:

答案 0 :(得分:1)

= SUBSTITUTE("这是产品KAK 8732","这是产品","")

答案 1 :(得分:1)

试试这个:

=TRIM(RIGHT(SUBSTITUTE(A1," ",REPT(" ",60)),120))

=MID(A1,FIND("@",SUBSTITUTE(A1," ","@",LEN(A1)-LEN(SUBSTITUTE(A1," ",""))-1))+1,255)

参见图片以供参考。

enter image description here