Left Trim

  • Thread starter Thread starter Kerry Schneider
  • Start date Start date
K

Kerry Schneider

Looking to left trim a cell to a specific character. i.e.
I have a column with "lastname, firstname". I wish to trim
to lastname only, is there a way to request a trim to the
comma? thanks...K
 
One way

select the column, do data>text to columns, delimited, click next,
select comma as delimiter, click next, click in the right hand
column to select it in the data preview window, select do not
import (skip), click finish
 
Try this: =REPLACE(A1,1,LEN(A1),LEFT(A1,FIND(",",A1)-1))

Not as elegant as the other options though!
 
Back
Top