Forum Discussion

Tommentions's avatar
Tommentions
Copper Contributor
Oct 06, 2022
Solved

Name and Address on the same cell.

Hello, I need help please.  I have a list of customer names and address in the same cell.  How do I separate them.     Tom
  • HansVogelaar's avatar
    HansVogelaar
    Oct 07, 2022

    Tommentions 

    I'm in Europe, it was past midnight for me...

    Perhaps this? Let's say you have the combined names/addresses in A2 and down.

    In B2:

    =LEFT(A2,MATCH(TRUE,ISNUMBER(1*MID(A2,ROW(INDIRECT("1:"&LEN(A2))),1)),0)-2)

    In C2:

    =RIGHT(A2,LEN(A2)-MATCH(TRUE,ISNUMBER(1*MID(A2,ROW(INDIRECT("1:"&LEN(A2))),1)),0)+1)

    If you don't have Microsoft 365 or Office 2021, confirm both formulas by pressing Ctrl+Shift+Enter.

    Then fill down.

    The address could be split up further, into street, city and stat/zip

Resources