Extract exact part of the text in Excel

前端 未结 3 407
长情又很酷
长情又很酷 2021-01-24 19:31

I have a column with the following type of text in it:

256 items delivered by supplier (LLC Printlogic)
436 items delivered by supplier (LLC Mango)<
相关标签:
3条回答
  • 2021-01-24 20:01

    There are a number of ways to parse text. Here is one of them.

    =REPLACE(REPLACE(A2, FIND(")", A2), LEN(A2), ""),1, FIND("(", A2), "")
    

      

    0 讨论(0)
  • 2021-01-24 20:09

    one alternative,

    =MID(A1,FIND("(",A1)+1,FIND(")",A1)-FIND("(",A1)-1)&"<br>"
    
    0 讨论(0)
  • 2021-01-24 20:09

    And another, that assumes the characters at the end are enclosed in <...> but not might always be <br>

    =SUBSTITUTE(REPLACE(A1,1,FIND("(",A1),""),")","")
    

    Note that that same formula will also work on your original post, before it was edited and the <br> added at the end of each line:

    0 讨论(0)
提交回复
热议问题