Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old April 27th 06, 09:16 PM posted to microsoft.public.excel.programming
external usenet poster
 
First recorded activity by ExcelBanter: Mar 2005
Posts: 53
Default 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   Report Post  
Old April 27th 06, 09:59 PM posted to microsoft.public.excel.programming
external usenet poster
 
First recorded activity by ExcelBanter: Apr 2006
Posts: 1
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to merge 2 + contiguous cells without lossing data? Patti Excel Discussion (Misc queries) 2 June 4th 10 07:25 PM
Paste Data into Contiguous (Visible) Cells trev_sk8r New Users to Excel 1 June 16th 06 10:04 PM
Can I create an Excel chart from non-contiguous data cells? [email protected](nospam) Charts and Charting in Excel 1 May 27th 06 02:45 AM
sorting non contiguous ranges gsh20 Excel Discussion (Misc queries) 1 September 8th 05 04:50 PM
Selecting Contiguous data that contains many empty cells Rodrigo[_3_] Excel Programming 1 February 24th 04 08:23 PM


All times are GMT +1. The time now is 04:33 PM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright 2004-2021 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017