Move Split Cell

  • Thread starter Thread starter dk
  • Start date Start date
D

dk

We Have addresses that have Apt. After the numeric digits without spaces we
want to move it to end how can we?
Ex; 123a Main St NY NY 10988 shall change to 123 Main St NY NY 10988 #a
 
=LOOKUP(10^10,MID(A1,1,ROW(INDIRECT("1:"&LEN(A1))))+0)&MID(A1,FIND("
",A1),99)&" #"&SUBSTITUTE(LEFT(A1,FIND("
",A1)-1),LOOKUP(10^10,MID(A1,1,ROW(INDIRECT("1:"&LEN(A1))))+0),"")
 
Back
Top