• 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 street addresses

claudia80

Member
Good morning.
Could you help me find the right formula to extract the street addresses as in the orange column?
I tried with python but it cuts the first part.
Thank you
 

Attachments

  • CHANDOO.xlsx
    172.5 KB · Views: 13

claudia80

one sample
cell C2 =MID(A2,FIND(")",A2,1)+2,FIND("-",SUBSTITUTE(A2," ","-",LEN(A2)-LEN(SUBSTITUTE(A2," ",""))))-FIND(")",A2)-2)
and copy down
 
Withe recent versions try
Code:
=TEXTBEFORE((TEXTAFTER(A2;")"));" ";-1)
Replace the ; with , depending on your locale
 
I translated the formulas into Italian but they don't work

=ESTRAI(A2;TROVA(")";A2;1)+2;TROVA("-";SOSTITUISCI(A2;" ";"-";LUNGHEZZA(A2)-LUNGHEZZA(SOSTITUISCI(A2;" ";""))))-TROVA(")";A2)-2)

=TESTOPRIMA((TESTODOPO(A2;")"));" ";-1)
 
Back
Top