Split Data In One Column Into Two Columns
Mar 12, 2009
For each cell in column A, I am trying to split the data between two new cells. The data in each cell is separated by a “|”. All information to the left of “|” should go in column B. All information to the right of “|” should go in column C.
Column A
Aa3 |AAA
A3 |AA-
A2 |A
A3 |BBB+
Aa3 |AA
Aa2 |AA+
Desired Results
Column B………….Column C
Aa3…………………AAA
A3…………………..AA-
A2………………..…A
A3…………………..BBB+
Aa3…………………AA
Aa2…………………AA+
View 4 Replies
ADVERTISEMENT
Jan 26, 2012
I have an address in one cell in excel. Street/City/State/Zip are all separated by two spaces like this: 123 Anywhere St Chicago IL 60607 United States
I want to break them out into separate columns. The "Text to Columns" won't work because there are no commas or dashes separating the data.
View 3 Replies
View Related
May 4, 2009
The spreadsheet contains over 21,000 rows of data, and one of the columns (D I think) contains data as in the two examples below.
What she wants is to split this column at the semi-colons ( and have the column header as the "field" name.
Unfortunately not all the cells have the same number of "fields" as you can see. Some don't have an "addressLineTwo" while others also have "stateprovince".
Is it possible to split the column so each "field" goes into it's own column?
Please note that if a "field" is missing there is not two semi-colons to indicate an empty field. I'm also fairly certain that, between them the two examples below show all possible fields.
Data Examples.
addressLineOne:Road Belen Staana;addressLineTwo:Costado Oeste;city:SAN ANTONIO DE BELEN;highRate:194;latitude:9.97631;longitude:-84.20038;postal4005
addressLineOne:1766 Homestead Drive;airportCode:ROA;city:HOT SPRINGS;highRate:500;latitude:37.99662;longitude:-79.83079;postal24445;Rating:52;stateprovince:US
Didn't there used to be a "Split" function that split text over two cells? I'm sure I used it years ago, but can't find any mention of it in Excel 2003.
View 9 Replies
View Related
Aug 20, 2008
I have 300 rows worth of data that looks similar to this, all organized in one column:
John Q. Smith
Programmer
2111 NW 13th St
Anywhereville, USA, 55555
(555) 555-5555
Joe P. Snider
Organizer
5645 NW 45th St
Anywhereville, USA, 55555
(555) 555-5555
Patty Williams
Accountant
6454 NW 34th St
Anywhereville, USA, 55555
(555) 555-5555
As you can see it is consistent with the name, position, address line 1, address line 2, Phone number, for every single entry. All my names are already alphabetized so I don't have to worry about it. What I want to do is have the information for each entry translated into 5 separate columns so it looks like this.
John Q. Smith Programmer 2111 NW 13th St Anywhereville, USA, 55555 (555) 555-5555
Joe P. Small Organizer 5645 NW 45th St Anywhereville, USA, 55555 (555) 555-5555
Patty Williams Accountant 6454 NW 34th St Anywhereville, USA, 55555 (555) 555-5555
Supposing I started the sheet in the top left corner at A1, I was just going to have cell B1=A1 then Cell B2=A6 then just autofill down column B but it doesn't work. I have seen some people do something similar to what I want with VBA but I am convinced there has to be something simple in with an excel formula seeing as my information is already so organized and consistent.
View 4 Replies
View Related
Dec 1, 2013
1 1100200157326 7000000000011126 Mr .AA BB CC 30,548.68 16 1,759.00 3,523.75
1
1100200157326
700000000001
1126
Mr. AA BB CC
30,548.68
16
1,759.00
3,523.75
2 1100200313905 700000000002 1127 Miss AA BB 48,329.53 9 1,969.00 3,944.75
2
1100200313905
700000000002
1127
Miss AA BB
48,329.53
9
1,969.00
3,944.75
3 1100200568628 700000000003 1127 Mrs. AA 24,990.00 5 1,825.56 3,652.84
3
1100200568628
700000000003
1127
Mrs. AA
24,990.00
5
1,825.56
3,652.84
I have data on column A and I want split data to many columns. This is Example.
View 5 Replies
View Related
Sep 1, 2009
I am trying to split data from a cell into two columns. I have tried the LEFT and RIGHT functions but as the data held is not always the same number of characters this does not work for the LEFT function. The only constant thing is that the last character will always be in the second column. An example of data would be:
9065-10A
9065-9B
9065-11C
and I need to be split into 2 columns as follows:
Column 1 Column2
9065-10 A
9065-9 B
9065-11 C
View 2 Replies
View Related
Nov 21, 2009
I am looking for two formulas (col. B+C) in order to split every second value from Col. A into two adjacent columns. Empty cells, in col. A, should be ignored. The requested result is shown in green and red.
View 4 Replies
View Related
Feb 26, 2009
i have cells with city and state in them and i'm trying to separate the one column into two columns. the problem is, i'm trying to keep the city name in one column and the state in the other. some of my cells have two word cities like new albany, or upper arlington. the text to columns feature is separating those cells into 3 columns not 2. is there a way to do this?
example:
worthington, oh
upper arlington, oh
text to columns splitting upper arlington into 3 different cells because the only delimiter in the cell is a space. i need to keep upper arlington in one cell and oh in another.
View 7 Replies
View Related
Feb 22, 2010
I am looking for a way to split a large string (400 numeric value's, split by comma's) into a 20x20 field.
If possible, the field should be 600x400 pixels (30x20 squares), but this is just extra
Is there a way to do this in Excel (or any other program)?
View 9 Replies
View Related
May 15, 2013
I have one column of data which I need to split into two. Those values that are bold need to migrate to column B. Have some difficulty in phrasing the question properly.
Original:
A
10
0
0
2
4
Desired output:
A B
0 10
2 0
0 0
2 0
0 4
* note a few formatting issues here:
1. instead of bold and not bold, they are in green or in purple
2. 0 stands for an empty cell in my data set (I tried to fill the empty cells with zeros, but they somehow inherit the colors, i.e. some zeros are green and some zeros are purple; guess that wouldn't be a problem since the desired output they'll all be zeros anyway?)
View 5 Replies
View Related
May 22, 2014
I need to split the data into worksheets (see attached) by the Advertiser column and then by the deal year and deal code columns. I need each worksheet to be named per advertiser and deal year_deal code. I took off and replaced the data since it is sensitive information.
creating a macro or implicating one into the workbook to run for future reporting.
View 13 Replies
View Related
Apr 9, 2014
This formula I want to apply it in another workbook. It split in different columns the content of a cell.
The formula is below:
[Code] .....
In cell A2 I have the following data:
|516582-001-99|414816-001-99|414816-003-99|516582-001-99|
If I apply the formula above in cells B2 to E2 it returns a blank cells. But if I delete the first "|" sign in the left side manually the formula works perfectly by splitting the cell into columns from B2 to E2. The issue here is that I have more than 300,000 records. Just imagine the amount of time invested in just deleting the first "|" at the left side.
I need a variation of the formula above that in first place delete the first "|" at the left side and after that continue with the proper work of the formula.
View 5 Replies
View Related
Feb 27, 2013
I have seen this function Quickly split data into multiple worksheets based on selected column in Excel when searching for a solution. I would very much like to use VBA to filter data and open up new files in a similar way.
View 8 Replies
View Related
Jun 8, 2006
I am having trouble figuring out how to split the data in a column.
For Example on the attached .xls - the first few records under the SIC column are:
73790200
59470104
70110100
581223
& how i want them to look in seperate columns:
73 790200
59 470104
70 110100
58 1223
I need the first two digits in their own column and the rest of the number in it's own column. I have over 6,000 records, so doing it manually is not a place I want to go!
View 3 Replies
View Related
Apr 4, 2014
spliting of main data By column criterias which start from column E1:L1 something like Pivot Table in new worksheet, but based on formula functions.Each worksheets have to based in one of this column D1:K1 headings. That also have to rapidly change with main data table.
View 9 Replies
View Related
Apr 11, 2012
I am looking to split data in a worksheet into separate sheets based on Column C which contains Either Babycare or Homecare or Industrial or Professional. Eventually there maybe more names. If possible I would also like to name each sheet.
My VBA skills is limited to this particular task.
View 2 Replies
View Related
Feb 4, 2008
I have a huge Excel spreadsheet going into the 10 000 mark.
What I want to do is split the spreadsheet into multiple worksheets based on the Company column.
I've attached a small sample.
View 4 Replies
View Related
Jan 31, 2013
I have a large spreadsheet converted from pdf whose data still appears in A4 reading format.
I need to move part columns of data from 6 columns to form 1 large column in column A.
For example, move range B8 to B76 beneath range A8 to A76 and range C8 to C76 beneath that etc, page by page working through all 270 pages !
Also need to delete unnecessary 'page headers' throughout as in rows 2-6
View 2 Replies
View Related
Aug 25, 2009
I have a large spreadsheet which I need to split into individual workbooks by reference to a particular column.
Rather then doing this manually and splitting the data out one at a time - I would like a macro to do this for me.
I am a novice excel user.
View 9 Replies
View Related
Oct 5, 2011
I have a workbook that has a sheet called CustInvData, this sheet contains 4,421 rows of invoice transaction data for 178 customers starting on row 2 (headers on row 1). I need to split the transaction data for each customer out into a workbook template based on the customer name in column A. I need each workbook named by the customer name along with a month and year (example: Bellsouth-0911.xls), this should create 178 unique workbooks. And since we sometimes have to go back and rerun invoices for previous months, I'll need to control the month and year manually in the code.
The parsed data needs to be copied to a pre-formatted invoice template. This template has 2 sheets, Sheet1 is called 'Product Summary', this is a table that uses VLOOKUP functions to read the data in Sheet2 called 'Product Details', this is the sheet the parsed data needs to be copied to for each customer invoice. The 'Product Details' sheet has formatted rows 1 thru 11, row 11 being the header row for the data from CustInvData to be copied. So the parsed data needs to start at row 12.
Last, once the data has been copied into the 'Product Details' sheet, I need the data to be SubTotaled at each change in column J (Product) and use the 'Sum' function to add a Subtotal in column L (Retail Price) for each unique product category.
Example data below, I've simplified it (the actual data array spans from columns A to Y)
Customer NameProduct Retail Price
ABC CompanyAVMPCR10
ABC CompanyAVMPCA15
[Code]....
I'm a bit of a novice with macros, but I know Excel pretty well.
Using Excel 2007 running on Windows Vista
View 2 Replies
View Related
Jul 31, 2006
Here's my problem. I have a cell where there are many data strings seperated by ",". Each data string has a seperate value of its own like for e.g:
A2: aa,ab,ac
String Value
aa 1
ab 1
ac 3
What I want it accomplish is that, split the A2 cell into the different data string entities seperated by ",", then get the corresponding value of each of the data string entity, and to take the average of all the values of the different data string entities.
View 9 Replies
View Related
Jul 23, 2009
Attached file where i m not able to split data in seperate seperate coloumn
View 3 Replies
View Related
Jan 5, 2010
I've got some time values in an Excel Sheet in the format hh:mm:ss. I need to split them into columns (including the colon) like below:
hh: | mm: | ss
I can do this manually using text to columns but when I use text to columns in my macro, it automatically changes the time format to h:mm:ss PM
View 2 Replies
View Related
Jun 30, 2014
I have a excelsheet that looks like this:
Column A | Column B | Column C
Los Angeles | Fire Dept | 3
Los Angeles | Health Services | 12
New York | Fire Dept | 8
New York | Health Services | 22
New York | Internal Services | 100
New York | Public Works | 7
Chicago | Health Services | 15
Chicago | Public Works | 56
Chicago | Social Services | 4
And I am trying to make it look like this:
Fire Dept
Health Services
Internal Services
Public Works
Social Services
Los Angeles
3
12
New York
8
22
100
7
Chicago
15
56
4
View 8 Replies
View Related
Feb 1, 2009
i have in col A using 2007 these examples .
10. * 7x7 Showmed'cash (7) 3g b
5. * 08x90. Bean Rock (10) 6g b
8. * 31 Thenaia (12) 3f b
11. * Stormy Masika (9) 3g b
I have managed using text to cols separateting info inside the brackets and to the right .
Also the numbers very left .
My problem is there arnt any more things to use in text to cols to separate examples 7x7 Showmed'cash , 08x90. Bean Rock , etc .
View 9 Replies
View Related
Apr 2, 2007
Excel 2003
I have one column with a date and on the same row 12 other columns with nos
How can I convert this to 2 columns - first date and 2nd the no
View 9 Replies
View Related
Jun 4, 2014
I am having quite a bit of a challenge here and am not able to code to split the text into columns. The text to columns does not work here unfortunately. Below is my situation. In one column that has the contract details I have the data as follows:
Account Manager Jennifer MacFarlane CONSULTING - GENERAL on 20-JUN-13 Function #:176749
Account Manager Janet Bewers CONSULTING - GENERAL on 25-JUL-13 Function #:176878
Account Manager Janet Bewers HEAT STRESS AWARENESS on 27-JUN-13 Function #:176828
Account Manager Janet Bewers TRACTOR SAFETY AWARENESS on 08-AUG-13 Function #:177383
What do I key in to get Account Manager in one column, the name of the person in another column and the one in caps in another column and the date in one column and the function in another column. I tried using left, right and LEN and something is terribly wrong with my logic
View 4 Replies
View Related
Dec 9, 2009
I need help to split text (shown below) into 3 columns, now all text is in one cell.
e.g.,
HIPP 1 PLUS PROBIOTIK 600 G MILCHNAHRUNG PULVER 1607000286
I have over 30,000 rows of data which contains different number of spaces within a cell. Please see attached file.
View 14 Replies
View Related
Feb 22, 2010
I'm trying to split the address stored in column A into two columns (i.e. columns B & C). I got more than 30,000 addresses stored in column A and got the following excel function to do the job. However, it seems not to exactly solve my problem.
in column B : =LEFT(A1,FIND(" ",A1,20)-1)
in column C : =right(A1,len(A1)-FIND(" ",A1,21))
First, using the above functions, I got to manually drag the formula to the end of column containing 30,000 records! I tried to use vba to perform the job the script failed to do so. I know there has been something I missed in my vba script but do not know how to correct it.
for k = 1 to 30,000
Range("b" & k).value = LEFT(range("A" & k),FIND(" ",range("A" & k,20)-1))
Range("c" & k).value = RIGHT(range("A" & k),len(range("A" & k)-FIND(" ",range("A" & k,21))
next
What I really want to do is split the addresses in columns B & C with the first text ended with "Street" or "Road" stored in Column A and the other text after "Street" or "Road" in column C.
column A : 128 Johnway Road, 12/F, Flat C, Kowloon, Hong Kong
column B : 128 Johnway Road
Column C : 12/F, Flat C, Kowloon, Hong Kong
View 9 Replies
View Related
Nov 15, 2006
Need to split the WORD into Col B and put the DEFINITION into Col C.
Here's an example of what's sitting in A1:
Title – A description of record contents
I've tried using the text to columns but can't get it to work.
(since the Words are all different lengths, something gets chopped off)
What I have today:
In column A (within a single cell is both the Word & it's Definition).
I need to extract the word ONLY into a new column (B)
and extract all the other words into column (C) (without the dash)...
I've also tried :
=LEFT(A1, FIND(" ",A1)-1)
and successfully stripped the Word into column B
but can't find any functions to extract the rest properly into C
I JUST noticed, some WORDS are multuple...example:
Information Protection Level – Used to identify information protection values per Pro 2227
Can you provide a function for doing a 3 word extraction to Col B?
I guess, what I REALLY need is for it to take "everything up to the dash" and put in column B......then put everything after the dash and put in col C.
View 9 Replies
View Related