Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sorting data in non-contiguous cells
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. jonco Wrote: 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 -- Ikaabod ------------------------------------------------------------------------ Ikaabod's Profile: http://www.excelforum.com/member.php...o&userid=33371 View this thread: http://www.excelforum.com/showthread...hreadid=537004 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to merge 2 + contiguous cells without lossing data? | Excel Discussion (Misc queries) | |||
Paste Data into Contiguous (Visible) Cells | New Users to Excel | |||
Can I create an Excel chart from non-contiguous data cells? | Charts and Charting in Excel | |||
sorting non contiguous ranges | Excel Discussion (Misc queries) | |||
Selecting Contiguous data that contains many empty cells | Excel Programming |