• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Extract Name from exact format

Hi,

Anyone has way to extract name from this format?
Ex:
Cash Out Refinance Client Kim Chanthan (DB.001717)
Result: Kim Chanthan

Thanks,
 
Just for your example, consider your text on cell A1

=LEFT(TRIM(RIGHT(SUBSTITUTE(A1," ",REPT(" ",90)),270)),(FIND("|",SUBSTITUTE(TRIM(RIGHT(SUBSTITUTE(A1," ",REPT(" ",90)),270))," ","|",2)))-1)
 
Maybe,

=MID(A1,SEARCH("client",A1)+7,FIND("(",A1)-SEARCH("client",A1)-8)

or,

=TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",30)),120,90))

Regards
Bosco
 
Last edited:
Back
Top