+ Reply to Thread
Results 1 to 6 of 6

Macro to list data from a table and sort it alphabetically

Hybrid View

  1. #1
    Registered User
    Join Date
    03-02-2012
    Location
    Bergen, Norway
    MS-Off Ver
    Excel 2007
    Posts
    18

    Smile Macro to list data from a table and sort it alphabetically

    Hi,

    I need to create a macro (or if possible without a macro) to list data from a data table in an alphabetically list.

    The data to be listed and sorted is in column E, and occurs on every 5th line;

    i.e. :

    Peter
    [no data]
    [no data]
    [no data]
    [no data]
    Alan
    [no data]
    [no data]
    [no data]
    [no data]
    Bryan
    ....


    So, what i want is a list like this in column Z:

    Alan
    Bryan
    Peter

    (with no empty rows between)

    Any suggestions?

    Thanks in advance

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Macro to list data from a table and sort it alphabetically

    Hi

    "no data" means empty cells you mean?
    Click *, if my suggestion helps you. Have a good day!!

  3. #3
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Macro to list data from a table and sort it alphabetically

    check this out:

    Book1.xlsm

  4. #4
    Registered User
    Join Date
    03-02-2012
    Location
    Bergen, Norway
    MS-Off Ver
    Excel 2007
    Posts
    18

    Talking Re: Macro to list data from a table and sort it alphabetically

    Thank you very much, jraj1106!

    Exactly what I was looking for!

  5. #5
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Macro to list data from a table and sort it alphabetically

    You are welcome... Pls click the STAR icon below....

  6. #6
    Registered User
    Join Date
    01-10-2011
    Location
    Kent, England
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Macro to list data from a table and sort it alphabetically

    This macro solves my problem too - thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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