Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #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.

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


Try =left(A1, 35)


--
Bearacade
------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=548605

  #3   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph
 
Posts: n/a
Default remove characters from a text under a condition

wrote in message
oups.com...
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?


=LEFT(A1,35)

Did you look at Excel's help to see what the LEFT function does?
--
David Biddulph


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

=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.


  #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.





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

Happy to help...........

Vaya con Dios,
Chuck, CABGx3



" wrote:

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.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter text in a column by its Indent, to remove certain text 99TZ250 Excel Discussion (Misc queries) 1 May 21st 06 08:53 AM
Remove left text string Luc in Oxford Excel Discussion (Misc queries) 2 August 23rd 05 10:57 AM
Excel Save As... text with special characters Brynturk Excel Discussion (Misc queries) 2 June 23rd 05 02:59 AM
how do I highlite text within a cell (specific characters) tim Excel Discussion (Misc queries) 1 May 20th 05 05:23 AM
REMOVE SPECIAL CHARACTERS FROM TEXT CELLS javila255 Excel Worksheet Functions 1 April 2nd 05 06:24 PM


All times are GMT +1. The time now is 12:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"