ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Add a text to rows option (https://www.excelbanter.com/excel-worksheet-functions/106970-add-text-rows-option.html)

Lisa

Add a text to rows option
 
In Excel I have the option to go to Data - Text to Columns to convert text
from a single cell to multiple columns. I would like to convert the text to
multiple rows.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions

tim m

Add a text to rows option
 
There might be a better way to do this but you could use text to columns to
divide up the text and then copy...paste special....transpose (to transpose
the text from columns to rows.)
"Lisa" wrote:

In Excel I have the option to go to Data - Text to Columns to convert text
from a single cell to multiple columns. I would like to convert the text to
multiple rows.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions


Lisa

Add a text to rows option
 
Thanks for your reply Tim. Part of my problem is that the text I am
converting is more than 256 columns, so I am losing some of it.

"tim m" wrote:

There might be a better way to do this but you could use text to columns to
divide up the text and then copy...paste special....transpose (to transpose
the text from columns to rows.)
"Lisa" wrote:

In Excel I have the option to go to Data - Text to Columns to convert text
from a single cell to multiple columns. I would like to convert the text to
multiple rows.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions


Richard Buttrey

Add a text to rows option
 
How about a simple macro to:

1. Read the value of the cell into a string variable
2. Loop through the variable identifying the characters between each
succesive pair of delimiters, putting these into a second string
variable.
3. Use Range("A65536").End(xlUp).offset(1,0) = stVariable2
to list the substrings under one another.

HTH


On Thu, 24 Aug 2006 12:31:02 -0700, Lisa
wrote:

In Excel I have the option to go to Data - Text to Columns to convert text
from a single cell to multiple columns. I would like to convert the text to
multiple rows.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________


All times are GMT +1. The time now is 11:46 AM.

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