+ Reply to Thread
Results 1 to 5 of 5

sort data base on one column to multiple columns

  1. #1
    Registered User
    Join Date
    07-16-2013
    Location
    vancouver
    MS-Off Ver
    Excel 2010
    Posts
    4

    sort data base on one column to multiple columns

    example
    from this

    A B C D ...
    aaa aaa tyr sfd
    sfd sfd kre ewr
    ewr ewr aaa tyr
    tyr tyr sfd aaa
    kre

    to this

    A B C D
    aaa aaa aaa aaa
    sfd sfd sfd sfd
    ewr ewr <Blank> ewr
    tyr tyr tyr tyr
    kre <Blank> kre <Blank>

    Can this be done by sorting? or does it require a macro? I have column B all the way to Z with similar data, but all mixed right now. Column A has all the names that column b to z would have. any way to do this?



    Thanks for your help.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: sort data base on one column to multiple columns

    Hello typerxtreme,

    Welcome to the Forum!

    I believe this will require a macro. The standard sort will not group columns across the row as in your example.

    Are you allowed to use VBA macros?
    Do you have headers in the first row?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    07-16-2013
    Location
    vancouver
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: sort data base on one column to multiple columns

    Thanks for your help btw.

    Yes i have headers for the first 2 rows. The data starts at row 3. I can use macros, but just don't know how.

    thanks.

  4. #4
    Registered User
    Join Date
    07-16-2013
    Location
    vancouver
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: sort data base on one column to multiple columns

    Ignore my earlier post regarding Column A having all the data because sometimes we have new names and it doesn't have everything.

    If you guys can make me a macro that sorts Column A to Z, like my example would be great. Put blanks where the name isn't there.

    thanks.

  5. #5
    Registered User
    Join Date
    07-16-2013
    Location
    vancouver
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: sort data base on one column to multiple columns

    Just wanted to give this a bump, and help would be appreciated.

    thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sort multiple columns to one column, skip blanks
    By AlexCoyne in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-20-2013, 03:13 PM
  2. [SOLVED] Sort multiple columns based on column header
    By Langer101 in forum Excel Programming / VBA / Macros
    Replies: 39
    Last Post: 01-09-2013, 09:55 AM
  3. how to transform data from row-base to column-base
    By fei2010 in forum Excel General
    Replies: 3
    Last Post: 11-23-2012, 12:17 AM
  4. [SOLVED] Sort by the multiple of 2 columns without making another column?
    By niko79542 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-14-2012, 09:46 AM
  5. Sort Data Base By Column
    By travelersway in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 08-21-2006, 06:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1