Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Grant
 
Posts: n/a
Default Remove last character of text string

I need a function to drop that last chatacter of a text string. The text
strings vary in length bit I always need to remove the last string. Any
suggestions?

T.I.A.


  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

=IF(A1<"",LEFT(A1,LEN(A1)-1),"")


On Thu, 29 Sep 2005 08:35:03 -0700, "Grant" wrote:

I need a function to drop that last chatacter of a text string. The text
strings vary in length bit I always need to remove the last string. Any
suggestions?

T.I.A.

  #3   Report Post  
BenjieLop
 
Posts: n/a
Default


Grant Wrote:
I need a function to drop that last chatacter of a text string. The
text
strings vary in length bit I always need to remove the last string.
Any
suggestions?

T.I.A.



If your string is in, say, A1, this formula

=LEFT(A1,LEN(A1)-1))

will delete the last character of your string.

Regards.


--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=471812

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
How do I remove all spaces in a text string dn Excel Discussion (Misc queries) 3 April 2nd 23 07:20 PM
Extracting from a text string AmyTaylor Excel Worksheet Functions 3 June 24th 05 01:34 PM
Remove text leading zero in text string Peo Sjoblom Excel Worksheet Functions 0 May 27th 05 09:59 PM
Finding Specific Text in a Text String Peter Gundrum Excel Worksheet Functions 9 April 10th 05 07:21 PM
Formating a text string? METCO1 Excel Discussion (Misc queries) 2 November 30th 04 06:31 PM


All times are GMT +1. The time now is 12:43 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"