Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Select rows and sort based on type | Excel Discussion (Misc queries) | |||
sorting more than 3 keys | Excel Discussion (Misc queries) | |||
Sort Ascending button - Excel 2003 | Excel Discussion (Misc queries) | |||
"-" ignored in sort | Excel Discussion (Misc queries) | |||
HELP! How do you--> Lock a set of rows but also link worksheets to | Excel Discussion (Misc queries) |