+ Reply to Thread
Results 1 to 5 of 5

complex sorting

  1. #1
    Registered User
    Join Date
    12-14-2013
    Location
    edo,nigeria
    MS-Off Ver
    Excel 2007
    Posts
    85

    complex sorting

    Hi, i have an excel of around 8000 lines.


    i would like to organise them by column.

    column 1, the company name (it's in upper case)
    column 2, the first and last name (it's usually just next to the company name on the same line)
    column 3, i want the function in the company
    column 4, i want the email id

    text like: 26/12/2013 à contacter for example,should be deleted

    It is very difficult for me to work on. Only an experienced excel guru can help me.
    Waiting patiently

    see attached file below
    Attached Files Attached Files

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: complex sorting

    Perhaps like this? This macro first makes a copy of sheet1 named sheet2. Macro then removes all blank rows and rows that contains text i.e. "/" in Sheet2.

    The remaining rows in Sheet2 are transposed to a new sheet called "Sorted", the "breaking point" for a new bath of rows ro transpose is the "@" sign. After all rows is transposed to sheet "Sorted", Sheet2 is deleted leaving the original sheet (Sheet1) and the sorted result in sheet "Sorted".

    To test run macro "Sorter".

    Alf
    Attached Files Attached Files
    Last edited by Alf; 12-28-2013 at 10:18 AM.

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,574

    Re: complex sorting

    Here's my interpretation of your problem
    Attached Files Attached Files
    Last edited by jindon; 12-28-2013 at 10:57 AM.

  4. #4
    Registered User
    Join Date
    12-14-2013
    Location
    edo,nigeria
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: complex sorting

    Quote Originally Posted by Alf View Post
    Perhaps like this? This macro first makes a copy of sheet1 named sheet2. Macro then removes all blank rows and rows that contains text i.e. "/" in Sheet2.

    The remaining rows in Sheet2 are transposed to a new sheet called "Sorted", the "breaking point" for a new bath of rows ro transpose is the "@" sign. After all rows is transposed to sheet "Sorted", Sheet2 is deleted leaving the original sheet (Sheet1) and the sorted result in sheet "Sorted".

    To test run macro "Sorter".

    Alf
    You are really a wizard! Saved me a bunch of work!
    Thanks!

  5. #5
    Registered User
    Join Date
    12-14-2013
    Location
    edo,nigeria
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: complex sorting

    Quote Originally Posted by jindon View Post
    Here's my interpretation of your problem
    Sir.. You are really great! I must commend the simplicity of your work. You are not only accurate... you are perfect! Keep your brain oiled!
    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. [SOLVED] Complex? sorting
    By schzuki in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-06-2013, 04:57 AM
  2. Complex Sorting
    By cmcasper in forum Excel General
    Replies: 2
    Last Post: 02-28-2013, 12:43 PM
  3. [SOLVED] Need complex Sorting macro
    By fahadcmf in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-23-2012, 11:01 AM
  4. Complex Sorting Macro
    By ZackG in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-18-2011, 04:30 PM
  5. Complex Sorting problem
    By heramiah in forum Excel General
    Replies: 0
    Last Post: 07-31-2007, 08:45 AM

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