Can you automatically filter for unique records?

H

hankinator

Here's the situation:

I have a workseet that contains data on defective parts. The pertinent
columns are item# (Col C), defect code (Col D), and number of defective parts
(Col E).
I would like to be able to copy/paste this data from an external source
(some crappy locally-created database).
After pasting the data, I would like to have the list automatically filtered
for unique defect codes, put that list onto another sheet where I can then do
a SUMIF for each defect code and come up with a Top 10 list.
Then the same thing for unique part#'s.

So, is there a way to automate the unique records filter?
 
R

Ron Coderre

I think that may be more work than necesary.

Have you considered a pivot table?
After importing the data to Excel,
the pivot table could easily list
the count of unique items AND list the Top 10

See these websites for instructions:

If you're already familiar with pivot tables, start here:

Pivot Table count of unique items:
http://www.contextures.com/xlPivot07.html#Unique

Show top items:
http://www.contextures.com/xlPivot05.html#TopItems

Otherwise, for Pivot Table basics:
http://peltiertech.com/Excel/Pivots/pivottables.htm


Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP
 
H

hankinator

I'm only vaguely familiar with pivot tables, but I've heard that they are
quite useful. I will check the links you provided.

Thanks!
 

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