Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
GRYSYF
 
Posts: n/a
Default HOW DO I EXTRACT ALL CHARACTERS AFTER 5 CHARACTERS ON LEFT

I HAVE STYLE NUMBERS THAT HAVE UP TO 11 CHARACTERS
BUT I NEED TO SEPERATE THEM AS 6 IN THE FIRST FIELD AND THE BALANCE OF 1, 2,
3, 4, OR 5 CHARACTERS IN THE 2nd FIELD.
EXAMPLES:
123456BLUE = 123456 BLUE
123456BLACK = 123456 BLACK
123456ASST = 123456 ASST
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

Assume your entries are in col A. Use this in col B

=LEFT(A1,5)

Use this in col C

=TRIM(RIGHT(A1,LEN(A1)-5)))


"GRYSYF" wrote:

I HAVE STYLE NUMBERS THAT HAVE UP TO 11 CHARACTERS
BUT I NEED TO SEPERATE THEM AS 6 IN THE FIRST FIELD AND THE BALANCE OF 1, 2,
3, 4, OR 5 CHARACTERS IN THE 2nd FIELD.
EXAMPLES:
123456BLUE = 123456 BLUE
123456BLACK = 123456 BLACK
123456ASST = 123456 ASST

  #3   Report Post  
Ian
 
Posts: n/a
Default

Firstly, posting in CAPITALS is considered SHOUTING and the post is often
ignored.

Secondly, try the solution below. It assumes your original data is in A1.

=LEFT(A1,6) gives the first 6 characters
=RIGHT(A1,LEN(A1)-6) gives everything after the first 6 characters
--
Ian
--
"GRYSYF" wrote in message
...
I HAVE STYLE NUMBERS THAT HAVE UP TO 11 CHARACTERS
BUT I NEED TO SEPERATE THEM AS 6 IN THE FIRST FIELD AND THE BALANCE OF 1,
2,
3, 4, OR 5 CHARACTERS IN THE 2nd FIELD.
EXAMPLES:
123456BLUE = 123456 BLUE
123456BLACK = 123456 BLACK
123456ASST = 123456 ASST



  #4   Report Post  
L. Howard Kittle
 
Posts: n/a
Default

And if you want 123456 Blue all in the same cell, try this.

=LEFT(A1,6)&" "&RIGHT(A1,LEN(A1)-6)

HTH
Regards,
Howard

"GRYSYF" wrote in message
...
I HAVE STYLE NUMBERS THAT HAVE UP TO 11 CHARACTERS
BUT I NEED TO SEPERATE THEM AS 6 IN THE FIRST FIELD AND THE BALANCE OF 1,
2,
3, 4, OR 5 CHARACTERS IN THE 2nd FIELD.
EXAMPLES:
123456BLUE = 123456 BLUE
123456BLACK = 123456 BLACK
123456ASST = 123456 ASST



  #5   Report Post  
Harlan Grove
 
Posts: n/a
Default

Ian wrote...
....
Secondly, try the solution below. It assumes your original data is in A1.

=LEFT(A1,6) gives the first 6 characters
=RIGHT(A1,LEN(A1)-6) gives everything after the first 6 characters

....

Easier than using RIGHT call is using MID,

=MID(A1,7,1024)

Note that if LEN(A1) < 6, RIGHT(x,LEN(x)-6) returns a #VALUE! error
while MID(x,7,1024) returns "".



  #6   Report Post  
 
Posts: n/a
Default

A non formula option

Select the codes
Data\Text to Columns..\Fixed

then put a break point in as directed
you will need space in the column to the right to accept the seperated
data.

hth RES
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
Max number of characters in a cell Dajana Excel Discussion (Misc queries) 1 September 25th 05 10:41 PM
remove last three characters of cell mira Excel Discussion (Misc queries) 8 July 28th 05 12:06 AM
Trendline Extract Phil Hageman Charts and Charting in Excel 5 July 6th 05 02:27 AM
Extract Unique Values, Then Extract Again to Remove Suffixes Karl Burrows Excel Discussion (Misc queries) 23 June 25th 05 10:37 PM
Extract specific data into its own workbook via macro? Adrian B Excel Discussion (Misc queries) 2 February 24th 05 06:09 AM


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

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"