Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 06-26-2009, 02:23 AM
champs champs is offline
Registered User
 
Join Date: 26 Feb 2009
Location: India
MS Office Version:Access
Posts: 46
champs is becoming part of the community
How can i delete unique entries in a table

Please Register to Remove these Ads

Hello everyone,

I have a personal project for my office where I need to analyze contacts from our customers, specially does who called us several times.

So, I've created a table with some fields (date, customer ID, contact ID, reason of the contact, concerned product) and filled it with ~285k rows that represents 1 month of customer contact.

As I have to analyze subcontractors, I'm only interested by the rows with a customer ID that repeats itself at least 2x in the whole column/field "customer ID" (in other words, I have to delete all "singles" contacts.

I've find many solutions to delete duplicate entries, but it goes in the opposite direction of my needs... somehow, I'd need a kind of filter on my table that would go like this : show only rows when the value in field Customer ID can be found at least 2x in the whole column/field Customer ID.

Does any of you have an idea how I should proceed to get this result ?
Reply With Quote
  #2  
Old 06-26-2009, 10:26 AM
split_atom18 split_atom18 is offline
Forum Contributor
 
Join Date: 23 Apr 2009
Location: Fredericksburg, IA
MS Office Version:Ultimate 2007
Posts: 126
split_atom18 Has established their mark in the community
Re: How can i delete unique entries in a table

Create a Query of the table.

Click the "Totals" button, add the customer ID field 2 x

Under the second customer ID field change it from Group by to Sum

In the criteria field under the second Customer ID field enter >1

Hope this helps,

Dan
__________________
"I am not a rocket scientist, I am a nuclear engineer." - Split_atom18
If my advice has been helpful to you, then please help me by clicking on the scales and adding to my reputation, Thanks!
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump