Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Amber
 
Posts: n/a
Default how can i get rid of duplicate records in excel?

I have a large spreadsheet and because of system parameters, it has lots of
duplicate records. How can I get just one of each record without manually
deleting the duplicates?
  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

DataFilterAdvanced Filter.

Unique records only and copy to another location.


Gord Dibben Excel MVP

On Thu, 23 Jun 2005 14:47:04 -0700, "Amber"
wrote:

I have a large spreadsheet and because of system parameters, it has lots of
duplicate records. How can I get just one of each record without manually
deleting the duplicates?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how can i get rid of duplicate records in excel?

I've been having trouble with "advanced filter" for unique records (in Excel
XP) -- If I'm only filtering for one column, it's OK, but in trying to
filter, say 10 columns, with one or two columns for the criteria range, I get
incorrect results. E.g., selecting columns A--H, and using B and C as the
unique criteria, gives incorrect results. I've tried copying B and C to
another sheet, and filtering those only, and it works OK. Also using the
=If(COUNTIF($A$1:A1,A1)1,"Dup","") approach indicated in another MS list,
and it works fine. Also, the new approach in Excel 2007 with data
tools/remove duplicates works fine (with the A--H, and criteria B,C example).
I've tried the criteria range in XP on several different worksheets, and get
the same wrong results. Am I misinterpreting what the criteria range is all
about, or ??
thanks,
Brian

"Gord Dibben" wrote:

DataFilterAdvanced Filter.

Unique records only and copy to another location.


Gord Dibben Excel MVP

On Thu, 23 Jun 2005 14:47:04 -0700, "Amber"
wrote:

I have a large spreadsheet and because of system parameters, it has lots of
duplicate records. How can I get just one of each record without manually
deleting the duplicates?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default how can i get rid of duplicate records in excel?

Sounds like you are misinterpreting. Excel looks at all ranges and if one
row is

a a 1 2 3

and the next is

a a 4 5 6

than those are not unique values.


the criteria range cannot be 2 columns in the table

You create the criteria range and you can use a formula


assume you want to make sure B is filtering based on occurrence then you
create a criteria range out of the table, header for instance in J1 and the
formula in J2

Leave J1 blank (since we are using a formula) then use

=COUNTIF($B$5:B5,B5)=1

now apply the filter and as criteria range use $J$1:$J$2






--


Regards,


Peo Sjoblom

"Brian Glusovich" <Brian wrote in
message ...
I've been having trouble with "advanced filter" for unique records (in
Excel
XP) -- If I'm only filtering for one column, it's OK, but in trying to
filter, say 10 columns, with one or two columns for the criteria range, I
get
incorrect results. E.g., selecting columns A--H, and using B and C as the
unique criteria, gives incorrect results. I've tried copying B and C to
another sheet, and filtering those only, and it works OK. Also using the
=If(COUNTIF($A$1:A1,A1)1,"Dup","") approach indicated in another MS list,
and it works fine. Also, the new approach in Excel 2007 with data
tools/remove duplicates works fine (with the A--H, and criteria B,C
example).
I've tried the criteria range in XP on several different worksheets, and
get
the same wrong results. Am I misinterpreting what the criteria range is
all
about, or ??
thanks,
Brian

"Gord Dibben" wrote:

DataFilterAdvanced Filter.

Unique records only and copy to another location.


Gord Dibben Excel MVP

On Thu, 23 Jun 2005 14:47:04 -0700, "Amber"

wrote:

I have a large spreadsheet and because of system parameters, it has lots
of
duplicate records. How can I get just one of each record without
manually
deleting the duplicates?





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default how can i get rid of duplicate records in excel?

Forgot to mention that B5 in my formula is the first data after the header
in column B

--


Regards,


Peo Sjoblom

"Peo Sjoblom" wrote in message
...
Sounds like you are misinterpreting. Excel looks at all ranges and if one
row is

a a 1 2 3

and the next is

a a 4 5 6

than those are not unique values.


the criteria range cannot be 2 columns in the table

You create the criteria range and you can use a formula


assume you want to make sure B is filtering based on occurrence then you
create a criteria range out of the table, header for instance in J1 and
the formula in J2

Leave J1 blank (since we are using a formula) then use

=COUNTIF($B$5:B5,B5)=1

now apply the filter and as criteria range use $J$1:$J$2






--


Regards,


Peo Sjoblom

"Brian Glusovich" <Brian wrote in
message ...
I've been having trouble with "advanced filter" for unique records (in
Excel
XP) -- If I'm only filtering for one column, it's OK, but in trying to
filter, say 10 columns, with one or two columns for the criteria range, I
get
incorrect results. E.g., selecting columns A--H, and using B and C as the
unique criteria, gives incorrect results. I've tried copying B and C to
another sheet, and filtering those only, and it works OK. Also using the
=If(COUNTIF($A$1:A1,A1)1,"Dup","") approach indicated in another MS
list,
and it works fine. Also, the new approach in Excel 2007 with data
tools/remove duplicates works fine (with the A--H, and criteria B,C
example).
I've tried the criteria range in XP on several different worksheets, and
get
the same wrong results. Am I misinterpreting what the criteria range is
all
about, or ??
thanks,
Brian

"Gord Dibben" wrote:

DataFilterAdvanced Filter.

Unique records only and copy to another location.


Gord Dibben Excel MVP

On Thu, 23 Jun 2005 14:47:04 -0700, "Amber"

wrote:

I have a large spreadsheet and because of system parameters, it has
lots of
duplicate records. How can I get just one of each record without
manually
deleting the duplicates?








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kim Kim is offline
external usenet poster
 
Posts: 284
Default how can i get rid of duplicate records in excel?

I tried this but is does not hide the duplicates. Can you help?

"Gord Dibben" wrote:

DataFilterAdvanced Filter.

Unique records only and copy to another location.


Gord Dibben Excel MVP

On Thu, 23 Jun 2005 14:47:04 -0700, "Amber"
wrote:

I have a large spreadsheet and because of system parameters, it has lots of
duplicate records. How can I get just one of each record without manually
deleting the duplicates?



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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
why do I have duplicate excel files - name:1 [vsync], name:2 [vsy harry38 Excel Discussion (Misc queries) 2 January 19th 07 08:16 PM
How do I find duplicate entries in Excel cher Excel Discussion (Misc queries) 2 June 23rd 05 06:29 PM
find duplicate cells in Excel shawneyv Excel Discussion (Misc queries) 2 January 5th 05 01:39 AM
Duplicate records in Excel Sheidsa Excel Discussion (Misc queries) 1 November 30th 04 12:23 AM


All times are GMT +1. The time now is 07:54 AM.

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"