Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 67
Default formula to truncate text characters

Greetings all,

This should be easy, but for the life of me I can't come up with the formula
solution myself. I would like to truncate some text characters of a model
number which is currently made up of the manufactuer and model number. The
manufactuer code is three digits, then followed by a "-", then comes the
model number. I want to remove the first four text characters, the
manufactuer code and the "-". Here is an example:

CLI-67700002
CLI-67818003
CLI-67846003
OSP-13-37N20D
OSP-13-37N30D
OSP-13-37N9WA
OSP-13-77N30D


I would like to have the above replace with:

67700002
67818003
67846003
13-37N20D
13-37N30D
13-37N9WA
13-77N30D

I am using 2007 w/ XP Pro. As in the past, I thank you for your anticipated
help!

Mark
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default formula to truncate text characters

Try this:

=RIGHT(A1,LEN(A1)-4)
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"MarkT" wrote in message
...
Greetings all,

This should be easy, but for the life of me I can't come up with the formula
solution myself. I would like to truncate some text characters of a model
number which is currently made up of the manufactuer and model number. The
manufactuer code is three digits, then followed by a "-", then comes the
model number. I want to remove the first four text characters, the
manufactuer code and the "-". Here is an example:

CLI-67700002
CLI-67818003
CLI-67846003
OSP-13-37N20D
OSP-13-37N30D
OSP-13-37N9WA
OSP-13-77N30D


I would like to have the above replace with:

67700002
67818003
67846003
13-37N20D
13-37N30D
13-37N9WA
13-77N30D

I am using 2007 w/ XP Pro. As in the past, I thank you for your anticipated
help!

Mark


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default formula to truncate text characters

Try

=MID(A1,FIND("-",A1)+1,99)

If this post helps click Yes
---------------
Jacob Skaria


"MarkT" wrote:

Greetings all,

This should be easy, but for the life of me I can't come up with the formula
solution myself. I would like to truncate some text characters of a model
number which is currently made up of the manufactuer and model number. The
manufactuer code is three digits, then followed by a "-", then comes the
model number. I want to remove the first four text characters, the
manufactuer code and the "-". Here is an example:

CLI-67700002
CLI-67818003
CLI-67846003
OSP-13-37N20D
OSP-13-37N30D
OSP-13-37N9WA
OSP-13-77N30D


I would like to have the above replace with:

67700002
67818003
67846003
13-37N20D
13-37N30D
13-37N9WA
13-77N30D

I am using 2007 w/ XP Pro. As in the past, I thank you for your anticipated
help!

Mark

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default formula to truncate text characters

Put this in a helper column:

=RIGHT(A1,LEN(A1)-4)

then copy down as far as required.

Hope this helps.

Pete

On Jun 4, 3:32*pm, MarkT wrote:
Greetings all,

This should be easy, but for the life of me I can't come up with the formula
solution myself. *I would like to truncate some text characters of a model
number which is currently made up of the manufactuer and model number. *The
manufactuer code is three digits, then followed by a "-", then comes the
model number. *I want to remove the first four text characters, the
manufactuer code and the "-". *Here is an example:

CLI-67700002
CLI-67818003
CLI-67846003
OSP-13-37N20D
OSP-13-37N30D
OSP-13-37N9WA
OSP-13-77N30D

I would like to have the above replace with:

67700002
67818003
67846003
13-37N20D
13-37N30D
13-37N9WA
13-77N30D

I am using 2007 w/ XP Pro. *As in the past, I thank you for your anticipated
help!

Mark


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 67
Default formula to truncate text characters

That worked perfect! Thank you so much!

"MarkT" wrote:

Greetings all,

This should be easy, but for the life of me I can't come up with the formula
solution myself. I would like to truncate some text characters of a model
number which is currently made up of the manufactuer and model number. The
manufactuer code is three digits, then followed by a "-", then comes the
model number. I want to remove the first four text characters, the
manufactuer code and the "-". Here is an example:

CLI-67700002
CLI-67818003
CLI-67846003
OSP-13-37N20D
OSP-13-37N30D
OSP-13-37N9WA
OSP-13-77N30D


I would like to have the above replace with:

67700002
67818003
67846003
13-37N20D
13-37N30D
13-37N9WA
13-77N30D

I am using 2007 w/ XP Pro. As in the past, I thank you for your anticipated
help!

Mark



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 67
Default formula to truncate text characters

This solution also worked! Thank you!

"RagDyeR" wrote:

Try this:

=RIGHT(A1,LEN(A1)-4)
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"MarkT" wrote in message
...
Greetings all,

This should be easy, but for the life of me I can't come up with the formula
solution myself. I would like to truncate some text characters of a model
number which is currently made up of the manufactuer and model number. The
manufactuer code is three digits, then followed by a "-", then comes the
model number. I want to remove the first four text characters, the
manufactuer code and the "-". Here is an example:

CLI-67700002
CLI-67818003
CLI-67846003
OSP-13-37N20D
OSP-13-37N30D
OSP-13-37N9WA
OSP-13-77N30D


I would like to have the above replace with:

67700002
67818003
67846003
13-37N20D
13-37N30D
13-37N9WA
13-77N30D

I am using 2007 w/ XP Pro. As in the past, I thank you for your anticipated
help!

Mark



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default formula to truncate text characters

You're welcome, and appreciate the feed-back.
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"MarkT" wrote in message
...
This solution also worked! Thank you!

"RagDyeR" wrote:

Try this:

=RIGHT(A1,LEN(A1)-4)
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"MarkT" wrote in message
...
Greetings all,

This should be easy, but for the life of me I can't come up with the
formula
solution myself. I would like to truncate some text characters of a model
number which is currently made up of the manufactuer and model number.
The
manufactuer code is three digits, then followed by a "-", then comes the
model number. I want to remove the first four text characters, the
manufactuer code and the "-". Here is an example:

CLI-67700002
CLI-67818003
CLI-67846003
OSP-13-37N20D
OSP-13-37N30D
OSP-13-37N9WA
OSP-13-77N30D


I would like to have the above replace with:

67700002
67818003
67846003
13-37N20D
13-37N30D
13-37N9WA
13-77N30D

I am using 2007 w/ XP Pro. As in the past, I thank you for your
anticipated
help!

Mark





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
Formula Needed - Truncate extra spaces at end of variable text len Roibn Taylor Excel Discussion (Misc queries) 1 November 4th 08 02:26 PM
truncate text to first word Harry C Excel Discussion (Misc queries) 5 July 3rd 08 05:14 AM
Trying to truncate or separate the first 3 characters/digits of co Jim Excel Discussion (Misc queries) 4 January 13th 06 01:51 PM
fill or truncate to a certain number of characters in a cell Jan Buckley Excel Worksheet Functions 1 March 16th 05 03:46 PM
linking cells in Excel 2003. How to not truncate to 255 characters. GarryFerg Excel Discussion (Misc queries) 5 December 8th 04 03:33 PM


All times are GMT +1. The time now is 09:39 PM.

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"