Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
BCBC
 
Posts: n/a
Default Split one cell into many

I am editing a database in Excel that will be dumped into another program.
Some of my cells in Excel have over 1000 characters of text (in
sentence/paragraph format). The other program has a limit of 250 characters
in each field. This means that I need to split the data of each cell into
multiple smaller cells.

I tried using DataText to Columns, but this inserts preset breaks which I
have to move one-by-one. Since my Excel document has almost 1000 rows and
several columns, I'm sure you can imagine how long that would take. Does
anyone know how this can be done quickly?
  #2   Report Post  
Richard Buttrey
 
Posts: n/a
Default Split one cell into many

On Sun, 16 Oct 2005 16:43:04 -0700, "BCBC"
wrote:

I am editing a database in Excel that will be dumped into another program.
Some of my cells in Excel have over 1000 characters of text (in
sentence/paragraph format). The other program has a limit of 250 characters
in each field. This means that I need to split the data of each cell into
multiple smaller cells.

I tried using DataText to Columns, but this inserts preset breaks which I
have to move one-by-one. Since my Excel document has almost 1000 rows and
several columns, I'm sure you can imagine how long that would take. Does
anyone know how this can be done quickly?



Assuming you have say A1 with 1024 characters, enter the following in
B1

=MID($A$1,(COLUMN()-2)*256+1,256)

and copy across to E1, or further if A1 has 1024 characters.

HTH



__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
  #3   Report Post  
Richard Buttrey
 
Posts: n/a
Default Split one cell into many

Sorry, misread your character limit. Change the 256 in the formula to
250

Rgds

On Mon, 17 Oct 2005 10:16:12 +0100, Richard Buttrey
wrote:

On Sun, 16 Oct 2005 16:43:04 -0700, "BCBC"
wrote:

I am editing a database in Excel that will be dumped into another program.
Some of my cells in Excel have over 1000 characters of text (in
sentence/paragraph format). The other program has a limit of 250 characters
in each field. This means that I need to split the data of each cell into
multiple smaller cells.

I tried using DataText to Columns, but this inserts preset breaks which I
have to move one-by-one. Since my Excel document has almost 1000 rows and
several columns, I'm sure you can imagine how long that would take. Does
anyone know how this can be done quickly?



Assuming you have say A1 with 1024 characters, enter the following in
B1

=MID($A$1,(COLUMN()-2)*256+1,256)

and copy across to E1, or further if A1 has 1024 characters.

HTH



__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
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
how to split the unmerge cell in Excel? RR Excel Discussion (Misc queries) 3 July 29th 05 01:29 PM
How do I split one cell of 6 numbers into two cells of 3 and 3? Jason Excel Discussion (Misc queries) 2 July 26th 05 03:42 PM
Cell color based upon cell value My View Excel Discussion (Misc queries) 11 July 6th 05 03:59 AM
How to split the contents of a cell between two cells. Colin Hayes Excel Worksheet Functions 4 June 11th 05 01:21 AM
Can I split a cell diagonally, with text in each triangle ? Helen T Excel Discussion (Misc queries) 1 May 13th 05 04:32 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"