1

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

256 items delivered by supplier (LLC Printlogic)<br>
436 items delivered by supplier (LLC Mango)<br>
500 items shipped to supplier (Arteco Inc)<br>

How to extract value in the brackets? The result should be the following:

LLC Printlogic<br>
LLC Mango<br>
Arteco Inc

3 Answers 3

2

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

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

  replace_parse

Sign up to request clarification or add additional context in comments.

Comments

0

one alternative,

=MID(A1,FIND("(",A1)+1,FIND(")",A1)-FIND("(",A1)-1)&"<br>"

Comments

0

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

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

enter image description here

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:

enter image description here

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.