abitspecial
New Member
- Joined
- Sep 26, 2013
- Messages
- 1
Hi all,
I've had a good look and I can't find exactly what I'm looking for which is:
I get a spreadsheet with, sometimes, 500 chars in a cell. I want to load this data to an application but I can only load up to 60 characters per column (for reasons I shan't bore you). Therefore I want to split the data in to separate columns. I can't use text to columns as I need something a little more sophisticated as I don't want to split a word in half; I'd want to move the cursor back to the start of that word and move from there to the next column. I then want to repeat that until all of the cell is split down into chunks of 60 (or less).
For example I have two cells containing the following (don't worry I've anonymised the data):
Cell 1:
If the person makes contact stating they have received a letter regarding the red survey please refer them to John Smith.
Cell 2:
If the person makes contact stating they have received a letter regarding the Yellow survey please refer them to Joe Bloggs / John S Smith OPS
If I use text to columns it will split the word 'letter' but I want it (I presume it will be a macro) to go back to the start of the word letter and move that into the next column (with upto 54 other chars).
Obviously if I only had two cells I'd do this manually but sometimes I can have thousands of cells.
Sorry if I haven't explained this very well. What I really want is similar to the below but I want the data moved to the next column (the column to the right will always be null) rather than creating a new row.
Similar thread: http://www.mrexcel.com/forum/excel-questions/400646-counting-characters-50-adding-new-line.html
I'm currently using Windows XP and Excel 2003 (as my workplace is still in the dark ages).
Thanks,
Matt
I've had a good look and I can't find exactly what I'm looking for which is:
I get a spreadsheet with, sometimes, 500 chars in a cell. I want to load this data to an application but I can only load up to 60 characters per column (for reasons I shan't bore you). Therefore I want to split the data in to separate columns. I can't use text to columns as I need something a little more sophisticated as I don't want to split a word in half; I'd want to move the cursor back to the start of that word and move from there to the next column. I then want to repeat that until all of the cell is split down into chunks of 60 (or less).
For example I have two cells containing the following (don't worry I've anonymised the data):
Cell 1:
If the person makes contact stating they have received a letter regarding the red survey please refer them to John Smith.
Cell 2:
If the person makes contact stating they have received a letter regarding the Yellow survey please refer them to Joe Bloggs / John S Smith OPS
If I use text to columns it will split the word 'letter' but I want it (I presume it will be a macro) to go back to the start of the word letter and move that into the next column (with upto 54 other chars).
Obviously if I only had two cells I'd do this manually but sometimes I can have thousands of cells.
Sorry if I haven't explained this very well. What I really want is similar to the below but I want the data moved to the next column (the column to the right will always be null) rather than creating a new row.
Similar thread: http://www.mrexcel.com/forum/excel-questions/400646-counting-characters-50-adding-new-line.html
I'm currently using Windows XP and Excel 2003 (as my workplace is still in the dark ages).
Thanks,
Matt