Outlook text list to columns

amylex

New Member
Joined
Dec 11, 2007
Messages
18
Hello all! Thanks in advance for your time :)


I have been trying to take a very large excel list such as:

Brown, Angela; Lex, Amy; Jones, Cheryl; Loria, Patty; .........

and move it to columns in excel. I've tried text to columns, and I can get it split up correctly, then I try to copy and past special : transpose but I'm just not getting the data in a usable way. I tried concatenate to get the data back to one cell but I cannot wrap my mind around how to do this. Any ideas?


THANKS!!
Amy
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Is this in one cell (say A1) and you want to split it into B1:n1? Or maybe to A2:An?
 
Upvote 0
yes. It is all in one cell, A1. I can manage to get it to each cell but instead of crossing 2 cells it wants to list it all in column A:


1 Lex Amy
2 Whal Cindy



it ends up:


1 Lex
2 Amy
3 Whal
4 Cindy


I'm not sure how to fix this :eek:
 
Upvote 0
Assuming that the text is in A1 and you want the values in A2 down

Code:
Sub SplitEm()
Dim X
With Range("A1")
    X = Split(.Value, ";")
    .Offset(1).Resize(UBound(X) + 1).Value = Application.Transpose(X)
End With
End Sub
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,120
Members
451,399
Latest member
alchavar

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