-----Original Message-----
Maybe you'd like to try this approach as well ..
Assume the sample list below
is in Sheet1, cols A and B
with data from row2 down
Dept Item
ABC 123
DEF 234
ABC 456
DEF 222
ABC 333
List the depts across in D1:E1
In D1: ABC
In E1: DEF
Put in D2: =IF(ISBLANK($A2),"",IF($A2=D$1,ROW(),""))
Copy D2 across to E2, then down a safe number of rows
to cater for the max likely rows of data in cols A and B
(copy down to say, E1000)
Cols D and E will set it up for the extract formula
we're going to put in Sheets 2 and 3 below
-------------
In Sheet2 (for dept: ABC)
-------------
Put in A1:
=IF(ISERROR(MATCH(SMALL(Sheet1!D

,ROW(A1)),Sheet1! D

,0)),"",OFFSET(Sheet1!
$A$1,MATCH(SMALL(Sheet1!D

,ROW(A1)),Sheet1!D

,0)-1,1))
Copy A1 down to A1000
(or by a lesser "safe" number of rows
to cater for the max likely rows of data for dept: ABC)
In A1:A1000 will be the extracted items
from col B of Sheet1 for dept: ABC
-------------
In Sheet3 (for dept: DEF)
-------------
Put in A1:
=IF(ISERROR(MATCH(SMALL(Sheet1!E:E,ROW(A1)),Sheet1! E:E,0)),"",OFFSET(Sheet1!
$A$1,MATCH(SMALL(Sheet1!E:E,ROW(A1)),Sheet1!E:E,0)-1,1))
( Formula above is identical to the one we set-up in Sheet2,
except that it points to col E in Sheet1 [for dept: DEF],
instead of col D. You could just copy > paste the same formula
into A1, then do an edit > replace to change "D

" to "E:E" )
Copy A1 down to A1000
(or by a lesser "safe" number of rows
to cater for the max likely rows of data for dept: DEF)
In A1:A1000 will be the extracted items
from col B of Sheet1 for dept: DEF
--
For the sample list in Sheet1,
the results in col A will be:
In Sheet2 (dept: ABC)
-------------------------
123
456
333
In Sheet3 (dept: DEF)
-------------------------
234
222
--
Extend the set-up to suit
--
Rgds
Max
xl 97
---
Please respond in thread
xdemechanik <at>yahoo<dot>com
----
Your help would be greatly appreciated!
I have a master list of "Hot Topics" that includes many
entries for different departments and is updated daily.
This list is not sorted and has the items entered
chronologicly, not grouped by department. I would like to
extract the items that pertain to each individual
department to a seperate worksheet, so each department
would have a sheet containing the items that pertain to
them. I have department name column and an item column.
Thanks in advance.
.