Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 577
Default Grouped sorting

Hello
I have data grouped in 3 columns across my sheet. I would like to sort
these groups by the first cell in each group. Due to line wrap the example
is column wise but my sheet the data is row wise

Trans# Amount RepID
123 500 JD
Trans# Amount RepID
425 300 SP
Trans# Amount RepID
256 250 AR

Sorted....

Trans# Amount RepID
123 500 JD
Trans# Amount RepID
256 250 AR
Trans# Amount RepID
425 300 SP

Thanks for all replies

Scott




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Grouped sorting

Scot wrote:
I have data grouped in 3 columns across my sheet. I would like to sort
these groups by the first cell in each group. Due to line wrap the example
is column wise but my sheet the data is row wise

Trans# Amount RepID
123 500 JD
Trans# Amount RepID
425 300 SP
Trans# Amount RepID
256 250 AR


I'll suggest using Autofilter, which works with rows, not columns.
Select your table.
Data; Filter; Autofilter.
Hit the Trans# arrow and select 'Custom'.
Show rows where Trans#
<does not equal <Trans#.
This will show only the data rows.
Data; Sort; Trans# (has header row).
Data; Filter; Autofilter to remove the filter.
Then you'll have to copy and paste special (transpose).
(This is on the sheet, not in code; should be able to do with code)


----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
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
sorting grouped cells D$ Excel Worksheet Functions 1 March 16th 10 07:47 PM
sorting grouped rows david tlv Excel Discussion (Misc queries) 2 February 21st 09 06:55 PM
Grouped Items won't Stay Grouped When Moving Object Heather02 Excel Discussion (Misc queries) 0 February 12th 09 07:08 PM
find value in A, grouped to B Bambers Excel Worksheet Functions 1 February 21st 08 12:28 AM
Grouped Workbooks Lauren Excel Discussion (Misc queries) 3 February 8th 07 06:54 PM


All times are GMT +1. The time now is 06:05 PM.

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

About Us

"It's about Microsoft Excel"