View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Trimming/Truncating Text Field in Excel

Try this:

A1 = 12345xxx1234567890

=MID(LEFT(A1,LEN(A1)-10),6,255)

returns xxx

--
Biff
Microsoft Excel MVP


"billbrandi" wrote in message
...
I have a file with 3 text columns that I am using as a mailing list. I
want
to remove the leading 5 characters from each text field and the trailing
10
characters from the same fields. How would I do this?