Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Dan S
 
Posts: n/a
Default How can I advanced sort into a Collum

I have data that I need to sort by groups.

Like:

xxxx yyaa
xxxx abcc

I need to sort to find all the yy's and count and then all the ab's and count?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Kevin B
 
Posts: n/a
Default How can I advanced sort into a Collum

You can sort your data by group and then use subtotals count the records at
each change in group.

After sorting, click DATA and select SUBTOTALS.

In the subtotals dialog box, select your group column for the AT EACH CHANGE
IN value, select COUNT as the USE FUNCTION value, and select the group column
as the column to count as the ADD SUBTOTAL TO value.


--
Kevin Backmann


"Dan S" wrote:

I have data that I need to sort by groups.

Like:

xxxx yyaa
xxxx abcc

I need to sort to find all the yy's and count and then all the ab's and count?

  #3   Report Post  
Posted to microsoft.public.excel.misc
Dan S
 
Posts: n/a
Default How can I advanced sort into a Collum

Thanks. The only problem is the group with xxxx is really AUCT or NESN and
not xxxx, so when I sort it just puts them in alphabetical order and is still
no help.



"Kevin B" wrote:

You can sort your data by group and then use subtotals count the records at
each change in group.

After sorting, click DATA and select SUBTOTALS.

In the subtotals dialog box, select your group column for the AT EACH CHANGE
IN value, select COUNT as the USE FUNCTION value, and select the group column
as the column to count as the ADD SUBTOTAL TO value.


--
Kevin Backmann


"Dan S" wrote:

I have data that I need to sort by groups.

Like:

xxxx yyaa
xxxx abcc

I need to sort to find all the yy's and count and then all the ab's and count?

  #4   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK
 
Posts: n/a
Default How can I advanced sort into a Collum

Well, why not separate out the two characters you need, i.e. enter:

= LEFT(B1,2)

in cell C1 and copy down. Now sort your data (plus column C) using
column C - you can always delete this column if you have no further
need for it.

Hope this helps.

Pete

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
Select rows and sort based on type Sarah Excel Discussion (Misc queries) 0 October 11th 05 05:06 PM
sorting more than 3 keys Brooke Excel Discussion (Misc queries) 3 June 18th 05 04:52 AM
Sort Ascending button - Excel 2003 bigwheel Excel Discussion (Misc queries) 1 May 23rd 05 11:10 PM
"-" ignored in sort Mike H Excel Discussion (Misc queries) 8 January 2nd 05 07:48 AM
HELP! How do you--> Lock a set of rows but also link worksheets to FRUSTRATED Excel Discussion (Misc queries) 6 December 29th 04 10:05 PM


All times are GMT +1. The time now is 11:14 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"