Split a column with no delimiter

Bassplaya7

New Member
Joined
Jul 2, 2010
Messages
14
I have a spreadsheet that has 2417 cells of web page id's in column A.
(example:<table border="0" cellpadding="0" cellspacing="0" width="328"><tr height="17"><td class="xl24" style="height:12.9pt;width:246pt" height="17" width="328">crayons-pack-1004)</td> </tr></table>
I would like to split the large column into 3 separate, equal columns B, C, D.
Is there a function that will help me do this?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
If your columns have a dash (-) inbetween words you can use that as a Delimiter, Place all the data in a single column then select the column then select Text to Columns in the guide select Delimited and then Next in the Next part of the guide select other and place in the -.

A sample converted is shown below.

Excel Workbook
DEFGH
1crayons-pack-1004crayonspack1004
2crayons-pack-1005crayonspack1005
3crayons-pack-1006crayonspack1006
4crayons-pack-1007crayonspack1007
5crayons-pack-1008crayonspack1008
6crayons-pack-1009crayonspack1009
7crayons-pack-1010crayonspack1010
8crayons-pack-1011crayonspack1011
9crayons-pack-1012crayonspack1012
10crayons-pack-1013crayonspack1013
11crayons-pack-1014crayonspack1014
12crayons-pack-1015crayonspack1015
13crayons-pack-1016crayonspack1016
14crayons-pack-1017crayonspack1017
15crayons-pack-1018crayonspack1018
16crayons-pack-1019crayonspack1019
Sheet1
 
Upvote 0
text to column won't work. I don't need to split the information in the cells. i need to split the column. I need the column side by side of all the information in column A.
 
Upvote 0
Just curious, why do you need such formula? Here is one:
Code:
=IF(ROW()<=CEILING(COUNTA($A:$A)/[COLOR=red]3[/COLOR],1),INDIRECT("A"&(CEILING(COUNTA($A:$A)/[COLOR=red]3[/COLOR],1)*(COLUMN()-2)+ROW())),"")
This formula is for 3 columns but you can expand it to as many columns you want by changing the red lettered part. e.g. for 4 columns replace 3 with 4 etc.
 
Last edited:
Upvote 0
now that they are in 3 rows, i can concatenate into one cell with 3 page id's with a space between. I need the info for internet retail using yahoo small business. when i put the page id's into a mss-cross-reference it shows the customer must have items on the right hand side of a product page. Thanks
 
Upvote 0

Forum statistics

Threads
1,215,049
Messages
6,122,864
Members
449,097
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top