extract data up to a certain character

  • Thread starter Thread starter markahpi
  • Start date Start date
M

markahpi

hi all,

I'm having trouble extracting data up on a cell up to a certain
character, for example up to "/"

for example this cell data: David Staton / 102 oak st

I just need "David Station" and leave "/ 102 oak" st alone

thanks for any pointers.
mark
 
=LEFT(A1,FIND("/",A1)-1)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
=MID(A1,FIND("/",A1)+1,99)

You can also use Data>Text To Columns with a delimiter of /

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top