Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 61
Default Excel Spreadsheet Employee list

I have a spreadsheet that lists 3600 employees and because some of these
employees work at different locations they are listed more that once, but I
also need the same list on a different spreadsheet but only show that
employee name appears only once. Is there a formula that would extract each
employee and only show once on the second spreadsheet.

Thanks
--
Newfie
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Excel Spreadsheet Employee list

Datafilteradvanced filterunique

Sample macro
lr = Cells(Rows.Count, "a").End(xlUp).Row
Range(Cells(1, "d"), Cells(lr, "e")).ClearContents
Range("A1:A" & lr).AdvancedFilter Action:=xlFilterCopy, _
CopyToRange:=Range("D1"), Unique:=True

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Newfie809" wrote in message
...
I have a spreadsheet that lists 3600 employees and because some of these
employees work at different locations they are listed more that once, but
I
also need the same list on a different spreadsheet but only show that
employee name appears only once. Is there a formula that would extract
each
employee and only show once on the second spreadsheet.

Thanks
--
Newfie


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Excel Spreadsheet Employee list

I would use Advanced filter to find only unique employee names then copy these
to a new worksheet.

For more info see Debra Dalgleish's site.

http://www.contextures.on.ca/xladvfilter01.html


Gord Dibben MS Excel MVP

On Mon, 12 Nov 2007 09:27:00 -0800, Newfie809 wrote:

I have a spreadsheet that lists 3600 employees and because some of these
employees work at different locations they are listed more that once, but I
also need the same list on a different spreadsheet but only show that
employee name appears only once. Is there a formula that would extract each
employee and only show once on the second spreadsheet.

Thanks


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 229
Default Excel Spreadsheet Employee list

Gord's suggestion works. In the future, I would suggest you keep
three separate worksheets for this purpose.

One, to list employees, indexed by some kind of identifying criteria
(e.g. SSN)

Two, to list locations, with a unique code assigned to each.

Three, to list location assignments. Here, you link an employee code
to a location code - one record for each assignment. You can then use
VLOOKUP to pull up additional references to either location or
employee list, as well as list unique attributes for specific
assignment (e.g. times and days the employee works the particular
location).



On Nov 12, 12:27 pm, Newfie809 wrote:
I have a spreadsheet that lists 3600 employees and because some of these
employees work at different locations they are listed more that once, but I
also need the same list on a different spreadsheet but only show that
employee name appears only once. Is there a formula that would extract each
employee and only show once on the second spreadsheet.

Thanks
--
Newfie



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 61
Default Excel Spreadsheet Employee list

Thank you everyron for the suggestions.

But the two spreadsheets that I am preparing are already drawing from 54
other spreadsheets in the workbook. Each spreadsheet containts 4 pages and a
list of the employees, their duties and the caculations for Ministry
Elementary Average Class size reporting. Now that all the Staff in the
schools arel listed I would like to use this information for other Ministry
reporting.

Thanks again
--
Newfie


"iliace" wrote:

Gord's suggestion works. In the future, I would suggest you keep
three separate worksheets for this purpose.

One, to list employees, indexed by some kind of identifying criteria
(e.g. SSN)

Two, to list locations, with a unique code assigned to each.

Three, to list location assignments. Here, you link an employee code
to a location code - one record for each assignment. You can then use
VLOOKUP to pull up additional references to either location or
employee list, as well as list unique attributes for specific
assignment (e.g. times and days the employee works the particular
location).



On Nov 12, 12:27 pm, Newfie809 wrote:
I have a spreadsheet that lists 3600 employees and because some of these
employees work at different locations they are listed more that once, but I
also need the same list on a different spreadsheet but only show that
employee name appears only once. Is there a formula that would extract each
employee and only show once on the second spreadsheet.

Thanks
--
Newfie




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
Employee list Dave New Users to Excel 3 January 9th 07 10:29 PM
How do I eliminate a list from an Excel spreadsheet? Pete Excel Discussion (Misc queries) 1 November 30th 06 11:45 PM
Calculate employee hours for employee evaluation? Triesha Excel Worksheet Functions 3 February 9th 06 02:52 PM
Fromula to take employee # out of employee name field mikeburg Excel Discussion (Misc queries) 9 September 12th 05 03:41 AM
employee phone list template Carol Excel Worksheet Functions 1 August 1st 05 05:15 PM


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