Extract within a cell

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi:

I am looking for a function that will allow me to do the following:

I have the following value in a cell

Williams Sanders-IT Manager

I want to extract the "name" only from the cell. Every row in this file is
setup the same way....ie....I need a formula that will look "LEFT TO RIGHT"
until a dash is found (-).......then give me the entire string to the LEFT of
the dash (-)

Can anyone suggest the function to make this happen????


Thank you

Warren Phillips
 
WOW!

That is just what I needed.....Thank you very much.

Have a ROCKIN evening
 
Without formulas.....Data>Text to Columns>Delimited by>Other

Enter a hyphen and Finish.




WOW!

That is just what I needed.....Thank you very much.

Have a ROCKIN evening

Gord Dibben MS Excel MVP
 

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