single cell of data, multiple lines [address] - transposed to rows

TJMMARTELLA

Board Regular
Joined
May 29, 2008
Messages
63
I have single cell containing an address [all information in one cell] - I would like to transpose the information so that first line is in it's own column, followed by address in own column, city in own column, state, etc... thanks for any help.
 
Can you post some sample data? If the lines of the address are separated by a line feed character, you can use Data|Text To Columns, select Delimited and at Step 2 check Other and with your cursor in the TextBox hold down Alt and type 010 on the numeric keypad.
 
Upvote 0
Can you post some sample data? If the lines of the address are separated by a line feed character, you can use Data|Text To Columns, select Delimited and at Step 2 check Other and with your cursor in the TextBox hold down Alt and type 010 on the numeric keypad.
An alternate to the highlighted text above is to simply press CTRL+J
 
Last edited:
Upvote 0
I think you meant to highlight Alt as well. Thanks for the tip.

Yes, I did (actually, I thought I had selected it along with the other text, but I guess I was mistaken). The ability to edit my original message had not timed out yet, so I went back and changed it to highlight the word Alt as well, so my message now reads correctly. Thanks for noting that.
 
Upvote 0
It's programmerese going way, way back: Alt-Enter in Excel inserts a line-feed character, whuse ASCII value is 10. If you know any character's ASCII value, you can hold down the Alt key, type the ASCII value on the numeric keypad (not the top row above QWERTYUIOP), and when you let go, that character will be inserted. Check out the Character Map (%windir%\system32\charmap.exe): use the arrow keys to navigate, and watch the bottom row.

Here are a few other characters:
Backspace=8=Ctrl-H (Backspace key)
Horizontal tab=9=Ctrl-I (Tab key)
Line Feed=10=Ctrl-J
Vertical tab=11=Ctrl-K
Form feed=12=Ctrl-L
Carriage return=13=Ctrl-M
End of file=26=Ctrl-Z
Esc=27=Ctrl-[


Generally the Enter key inserts both CR and LF on DOS systems, but just LF on *nix systems.
 
Upvote 0

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