Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Clueless27
 
Posts: n/a
Default Sorting a list

I need to sort a list by group #. The list consists of 8 colums of info
accross, and so i need to sort left- to right. Not sure how to go about doing
this correctly without losing info!

thanks,

megan
  #2   Report Post  
Posted to microsoft.public.excel.newusers
surg4u1975
 
Posts: n/a
Default Sorting a list


Select the entire sheet by clicking the grey box above row 1 and to the
left of column A.

Go to 'Data' on the top menu bar.

Select Sort.

Check the box for Header row if your data has headers.

Then select, using the drop down arrow, Group # or the corresponding
column with the Group #.

Select OK.

Does this help?


--
surg4u1975
------------------------------------------------------------------------
surg4u1975's Profile: http://www.excelforum.com/member.php...o&userid=28718
View this thread: http://www.excelforum.com/showthread...hreadid=496426

  #3   Report Post  
Posted to microsoft.public.excel.newusers
VBAvirgin
 
Posts: n/a
Default Sorting a list


See Code:

Code:
--------------------
Private Sub CommandButton1_Click()
Application.Run "SortTest1!SelectNSort"
Selection.Sort Key1:=Range("A1"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
Range("A1").Select
End Sub

--------------------


Try the attached file (Click the button)
Edit the code by way of the VBA editor, and where I have
"Selection.Sort Key1:=Range("A1")," Change *A1* to *B1*, and click the
button again to see the results.
This should give you an idea as to what's happening in the SORT".

Good Luck in your endeavours.


+-------------------------------------------------------------------+
|Filename: SortTest1.zip |
|Download: http://www.excelforum.com/attachment.php?postid=4164 |
+-------------------------------------------------------------------+

--
VBAvirgin
------------------------------------------------------------------------
VBAvirgin's Profile: http://www.excelforum.com/member.php...o&userid=16327
View this thread: http://www.excelforum.com/showthread...hreadid=496426

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
list 1 has 400 names List 2 has 4000. find manes from list 1 on 2 Ed Excel Worksheet Functions 5 September 12th 05 09:48 AM
find names on list 1 in list 2. list 1 4000 names list 2 400 name Ed Excel Worksheet Functions 1 September 4th 05 12:48 AM
matching a sorting the exact value in the data list Steve M Excel Discussion (Misc queries) 1 June 16th 05 08:38 PM
Extracting Values on one list and not another B Schwarz Excel Discussion (Misc queries) 4 January 7th 05 01:48 PM
Creating a list from an existing list. Jad Excel Worksheet Functions 1 October 29th 04 06:00 AM


All times are GMT +1. The time now is 11:58 PM.

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

About Us

"It's about Microsoft Excel"