View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default remove characters from a text under a condition

yeah sure!!
cant believe i didnt know"

thank so much!


CLR wrote:

=LEFT(A1,$F$1) and type whatever number of characters you want to keep in
cell F1

Vaya con Dios,
Chuck, CABGx3



" wrote:

Hello,

I know if you want to remove the last X characters, you can do it by

=left(A1,(len(A1)-X))


I want to remove any characters from a text that is longer than 35
characters.
ie, I want to remove characters 36th and onwards.

How can I do it?

Thanks.
Elaine.