View Single Post
  #4   Report Post  
Gord Dibben
 
Posts: n/a
Default

Alan

DataText to ColumnsDelimited by other. Enter a colon. Next.

Select the right-hand column and "do not import column". Finish.


Gord Dibben Excel MVP

On Sat, 22 Jan 2005 14:35:49 -0600, Alan wrote:

I have a text file report that is not customizable. I import that into
Excel. There is a field where relevant data ends after the colon
character ":". Can someone help me with a formula I can put in column C
that evaluates the corresponding cell in column B and brings back all
text to the left of the colon mark?


Examples:
Column B

freddy: 45345 sldf
jeff: 45422 fdflh
sam: bfd4454

In this case I want to return the characters to the left of the colon:
freddy
jeff
sam

Thanks in Advance!
Alan