Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Trim out last seven characters from a string...

Is this easy to do? The last seven characters are constants, I just
want what precedes them...

DubboPete
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default Trim out last seven characters from a string...

give this a try

=MID(A1,1,LEN(A1)-7)

--


Gary Keramidas
Excel 2003


"DubboPete" wrote in message
...
Is this easy to do? The last seven characters are constants, I just
want what precedes them...

DubboPete


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Trim out last seven characters from a string...

On Feb 2, 3:04*pm, "Gary Keramidas" wrote:
give this a try

=MID(A1,1,LEN(A1)-7)

--

Gary Keramidas
Excel 2003

"DubboPete" wrote in message

...



Is this easy to do? * The last seven characters are constants, I just
want what precedes them...


DubboPete- Hide quoted text -


- Show quoted text -


Just the ticket, thanks Gary!
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Trim out last seven characters from a string...

Or more simply
=LEFT(A1,LEN(A1)-7)
--
David Biddulph

Gary Keramidas wrote:
give this a try

=MID(A1,1,LEN(A1)-7)


"DubboPete" wrote in message
...
Is this easy to do? The last seven characters are constants, I just
want what precedes them...

DubboPete



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
Trim characters Ronbo Excel Worksheet Functions 7 January 26th 09 09:29 PM
Trim Characters Other Than An Empty Space At The End Of A Cell K8_Dog Excel Worksheet Functions 5 April 19th 08 01:29 AM
Trim hidden characters? robotman Excel Worksheet Functions 3 October 20th 07 12:00 AM
How do you trim characters? Tommi Excel Worksheet Functions 6 January 29th 06 01:38 PM
trim a string by specific number of characters windyoldman Excel Discussion (Misc queries) 2 July 13th 05 01:53 PM


All times are GMT +1. The time now is 03:42 AM.

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

About Us

"It's about Microsoft Excel"