ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Split single cell data into multiple colums (https://www.excelbanter.com/excel-discussion-misc-queries/254672-split-single-cell-data-into-multiple-colums.html)

Pradeep

Split single cell data into multiple colums
 
i have a huge data, converted from image to Excel. After converting the image
to Excel all the data are stored in one cell( A1). But i want that to be
split into different colums

Example
A1
September 15,2006 Name Email ID Father's Name Address City
State Pincode Phone1 Phone2 Contact Time Area Code City
Code State Code Amount Discount Total Occupation Emp
no Remarks

The above headers are the data in one single cell, but have too many spaces
between each word.

Help me get this resolved
--
Thanks and all your help will be much appriciated

Eduardo

Split single cell data into multiple colums
 
Hi,
Do data, text to column, delimited, check the space box

"Pradeep" wrote:

i have a huge data, converted from image to Excel. After converting the image
to Excel all the data are stored in one cell( A1). But i want that to be
split into different colums

Example
A1
September 15,2006 Name Email ID Father's Name Address City
State Pincode Phone1 Phone2 Contact Time Area Code City
Code State Code Amount Discount Total Occupation Emp
no Remarks

The above headers are the data in one single cell, but have too many spaces
between each word.

Help me get this resolved
--
Thanks and all your help will be much appriciated


Jacob Skaria

Split single cell data into multiple colums
 
With the data in cell A1 try the below formula in cell B1 and copy/drag the
formula to the cells to the right...which will split the string with 3
spaces...Adjust to suit//

=TRIM(MID(SUBSTITUTE(" " & $A$1& REPT(" ",6)," ",
REPT(CHAR(32),255)),COLUMNS($B$1:B$1)*255,255))

PS: This is under the assumption that the individual headers within your
data will have atleast 3 spaces between each header

--
Jacob


"Pradeep" wrote:

i have a huge data, converted from image to Excel. After converting the image
to Excel all the data are stored in one cell( A1). But i want that to be
split into different colums

Example
A1
September 15,2006 Name Email ID Father's Name Address City
State Pincode Phone1 Phone2 Contact Time Area Code City
Code State Code Amount Discount Total Occupation Emp
no Remarks

The above headers are the data in one single cell, but have too many spaces
between each word.

Help me get this resolved
--
Thanks and all your help will be much appriciated


Pradeep

Split single cell data into multiple colums
 
Hai Jacob,

If you provide me your email id i'll send the some example data, so that i
can have a clear solution
--
Thanks and all your help will be much appriciated


"Jacob Skaria" wrote:

With the data in cell A1 try the below formula in cell B1 and copy/drag the
formula to the cells to the right...which will split the string with 3
spaces...Adjust to suit//

=TRIM(MID(SUBSTITUTE(" " & $A$1& REPT(" ",6)," ",
REPT(CHAR(32),255)),COLUMNS($B$1:B$1)*255,255))

PS: This is under the assumption that the individual headers within your
data will have atleast 3 spaces between each header

--
Jacob


"Pradeep" wrote:

i have a huge data, converted from image to Excel. After converting the image
to Excel all the data are stored in one cell( A1). But i want that to be
split into different colums

Example
A1
September 15,2006 Name Email ID Father's Name Address City
State Pincode Phone1 Phone2 Contact Time Area Code City
Code State Code Amount Discount Total Occupation Emp
no Remarks

The above headers are the data in one single cell, but have too many spaces
between each word.

Help me get this resolved
--
Thanks and all your help will be much appriciated



All times are GMT +1. The time now is 01:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com