Formula to separate address into 2 columns not working


I am attempting to use 2 formulas to separate an address that is comma deliminated, but the formula continually misses the mark.

The formulas in use:

Street address: =IFERROR(LEFT(Address@row, FIND(",", Address@row) - 1), "")

City, State, Zip: =IFERROR(RIGHT(Address@row, FIND(",", Address@row) - 1), "")

The Street address formula works fine, it is the second formula using RIGHT doesn't appear to work - it will remove portions of the address and I cannot figure out why. See screenshot.

Any ideas?


Best Answer

  • Dale Murphy
    Dale Murphy ✭✭✭✭✭✭
    Answer ✓

    @Natalia Kataoka Keep in mind that FIND is still counting from the left. Try this:

    =IFERROR(RIGHT(Address@row, (LEN(Address@row) - FIND(",", Address@row) - 1)), "")

    As long as there is only one comma I think this works. (and as long as there is always a space after the comma.)



Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!