Is there a way to sort a lot of names in word wrap cell and paste the names into multiple cells one name at a time?
Is there a way to sort a lot of names in word wrap cell and paste the names into multiple cells one name at a time?
Last edited by zplugger; 09-25-2012 at 09:29 AM.
There sure is. Use the Text-to-Columns feature and chose delimited and select commas as your divider. That should do it.
Getting Destination Reference is not valid
My best guess is that Excel will not let you use text to columns to a different sheet. Try it again but select the active sheet as the destination. Then you can copy that over to a new sheet, only way to work around it.
Not sure this can be done, I want all the names in one column?
Here's a macro that will work
![]()
Please Login or Register to view this content.
Thanks,
Mike
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
Select Thread Tools-> Mark thread as Solved.
WoW that is close, but it add a sheet everytime I run it. Can I keep it on a single sheet. When I add it will just go to the next empty cell in row a?
Try this
![]()
Please Login or Register to view this content.
Thank You, that is outstanding code work.
Update to post#8 added trim function. If names had leading or trailing spaces, sort would not work correctly.
![]()
Please Login or Register to view this content.
Ran into a small problem, on sheet 2 some of the names in yellow will not sort? Remove Diplicates does not see them at all?
Z
Try this
![]()
Please Login or Register to view this content.
Last edited by mike7952; 09-25-2012 at 09:13 AM.
Thanks Mike, now I'm getting Cast: again. Is this right?
![]()
Please Login or Register to view this content.
Try the code in post #12
That did it, works like a champ. Speaking of champs that macro you wrote make you a Champ in my book.
Z
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks