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

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.