+ Reply to Thread
Results 1 to 7 of 7

Sort by column E, and create sheets named by that column, add header and data

  1. #1
    Registered User
    Join Date
    04-14-2011
    Location
    Buford, USA
    MS-Off Ver
    Excel 2007
    Posts
    26

    Sort by column E, and create sheets named by that column, add header and data

    Hello there,
    In the file "CODES_1", Sheet "Field Data" I'd like to sort data by column E (all possible cases) and create new sheets named by codes in that column.
    -Add corresponding header from sheet "HEADER" to corresponding sheet name in the first row
    -Add corresponding data into newly created sheets but without column E from Sheet "Field Data"

    See file "COLUMN_2"

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Sort by column E, and create sheets named by that column, add header and data

    See if this 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.

  3. #3
    Registered User
    Join Date
    04-14-2011
    Location
    Buford, USA
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Sort by column E, and create sheets named by that column, add header and data

    Hi Mark,
    Thank you so much, this is working so far. I added three more codes into "HEADERS" sheet and works well. Totally there will be some 30+ codes with headers and I hope it will work. The only thing I noticed (not) wrong was that "Field File" sheet gets unsorted if you look at the column A but I can do that manually.

    Thanks again

  4. #4
    Registered User
    Join Date
    04-14-2011
    Location
    Buford, USA
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Sort by column E, and create sheets named by that column, add header and data

    Opss, sorry . Mike!

  5. #5
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Sort by column E, and create sheets named by that column, add header and data

    Im gessingyou want it sorted backto normal, try this

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    04-14-2011
    Location
    Buford, USA
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Sort by column E, and create sheets named by that column, add header and data

    Hi Mike,
    Yes this works but I noticed that program works only up to column G when you have a case where column H was completely empty (I had data after that column) and in that case program cuts off everything after that column.
    What would you suggest?

    Thanks

  7. #7
    Registered User
    Join Date
    04-14-2011
    Location
    Buford, USA
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Sort by column E, and create sheets named by that column, add header and data

    I just noticed that program will work only up to firs completely empty column. If you put something just in the first row it will work but again till next completely empty column

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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