Excel Spreadsheet Employee list

N

Newfie809

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
 
D

Don Guillett

Data>filter>advanced filter>unique

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
 
I

iliace

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).
 
N

Newfie809

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top