View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Stefi Stefi is offline
external usenet poster
 
Posts: 2,646
Default Extract text in middle using Mid and Find or Search

I envy you for recognizing the simpler solution!
Stefi


€˛Teethless mama€¯ ezt Ć*rta:

Try this:

=MID(A1,17,FIND(",",A1)-17)


"Karin" wrote:

Hi,

Here's the string I need to extract from: Regional Sales: SMITH, E.
(330146)
Here's what I want to end up with: SMITH
All the rows contain the same beginning (Regional Sales: ) (:space), it's
the length of the last name that varies, but all of the last names end with a
comma. I've been spinning my wheels, I know I'm close, but I just can't get
it. TIA :)