Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Max number of characters in a cell | Excel Discussion (Misc queries) | |||
remove last three characters of cell | Excel Discussion (Misc queries) | |||
Trendline Extract | Charts and Charting in Excel | |||
Extract Unique Values, Then Extract Again to Remove Suffixes | Excel Discussion (Misc queries) | |||
Extract specific data into its own workbook via macro? | Excel Discussion (Misc queries) |