+ Reply to Thread
Results 1 to 2 of 2

Sorting data in non-contiguous cells

  1. #1
    jonco
    Guest

    Sorting data in non-contiguous cells

    I have a worksheet with a Customer Number in Col A and a Customer Name in
    Column B in rows 3-32
    The list continues in Column C (Customer Number) and Column D (Customer
    Name) in rows 3-32 and also Columns E&F and G&H. (also in rows 3-32)
    There are some blank rows at the end for adding new customers)
    This is so the entire list can be viewed on one screen (sort of like on an
    index card with 2 columns for each record [Number and name])
    What I want to be able to do is sort this list alphabetically using the
    customer name. Can this be done? If so, how?
    Thanks for your help.
    Jonco






  2. #2
    Valued Forum Contributor
    Join Date
    04-11-2006
    Posts
    407
    I'd make a macro that moves each of the sets of 2 columns into one long set of 2 columns, sorts them alphabetically, then redistributes them to their respective columns for every 30 rows. If you have data below row 32 that shouldn't be overwritten, then just have the macro create a new worksheet to paste the data into temporarily and have it delete the worksheet upon finishing.

    Quote Originally Posted by jonco
    I have a worksheet with a Customer Number in Col A and a Customer Name in
    Column B in rows 3-32
    The list continues in Column C (Customer Number) and Column D (Customer
    Name) in rows 3-32 and also Columns E&F and G&H. (also in rows 3-32)
    There are some blank rows at the end for adding new customers)
    This is so the entire list can be viewed on one screen (sort of like on an
    index card with 2 columns for each record [Number and name])
    What I want to be able to do is sort this list alphabetically using the
    customer name. Can this be done? If so, how?
    Thanks for your help.
    Jonco

+ 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