Extract the last substring from a cell

后端 未结 9 1856
逝去的感伤
逝去的感伤 2020-12-01 07:57

I have names in a column. I need to split just the last names from that column into another column.

The last name is delimited by a space from the right side.

9条回答
  •  既然无缘
    2020-12-01 08:22

    Right(A1, Len(A1)-Find("(asterisk)",Substitute(A1, "(space)","(asterisk)",Len(A1)-Len(Substitute(A1,"(space)", "(no space)")))))
    

    Try this. Hope it works.

提交回复
热议问题