Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 271
Default Finding duplicate records

Hello All,

Have 10 columns of data for each row(record). Dates, serial numbers, dollar
amts.
Sometimes a serial number is keyed twice. What is the best way to find if
there are duplicate serial numbers after keying about 500 records? Is there a
way to prevent?
Using Excel 2002.
Many thanks to all!

Susan
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Finding duplicate records

In B1: =COUNTIF($A$1:A1,A1)1
Copy down as far as needed.

AutoFilter the TRUE value, then go to Edit Delete


"Susan" wrote:

Hello All,

Have 10 columns of data for each row(record). Dates, serial numbers, dollar
amts.
Sometimes a serial number is keyed twice. What is the best way to find if
there are duplicate serial numbers after keying about 500 records? Is there a
way to prevent?
Using Excel 2002.
Many thanks to all!

Susan

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Finding duplicate records

You can prevent duplicate entries using data validation. For example, assume
the first 500 serial numbers will be entered in cells A1:A500.
- select A1:A500
- select Validation from the Data menu
- select Custom from the 'Allow' dropdown box
- enter this formula:
=COUNTIF($A$1:$A$500,A1)=1
- on the Error Alert tab, enter the message you want displayed
- click OK to close the Data Validation dialog.

Data Validation will only catch duplicates entered manually by a user. It
won't catch duplicates created by VBA procedures, recalculations, or copying
& pasting.

Hope this helps,

Hutch

"Susan" wrote:

Hello All,

Have 10 columns of data for each row(record). Dates, serial numbers, dollar
amts.
Sometimes a serial number is keyed twice. What is the best way to find if
there are duplicate serial numbers after keying about 500 records? Is there a
way to prevent?
Using Excel 2002.
Many thanks to all!

Susan

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 271
Default Finding duplicate records

Thank you

"Teethless mama" wrote:

In B1: =COUNTIF($A$1:A1,A1)1
Copy down as far as needed.

AutoFilter the TRUE value, then go to Edit Delete


"Susan" wrote:

Hello All,

Have 10 columns of data for each row(record). Dates, serial numbers, dollar
amts.
Sometimes a serial number is keyed twice. What is the best way to find if
there are duplicate serial numbers after keying about 500 records? Is there a
way to prevent?
Using Excel 2002.
Many thanks to all!

Susan

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 271
Default Finding duplicate records

Thank you

"Tom Hutchins" wrote:

You can prevent duplicate entries using data validation. For example, assume
the first 500 serial numbers will be entered in cells A1:A500.
- select A1:A500
- select Validation from the Data menu
- select Custom from the 'Allow' dropdown box
- enter this formula:
=COUNTIF($A$1:$A$500,A1)=1
- on the Error Alert tab, enter the message you want displayed
- click OK to close the Data Validation dialog.

Data Validation will only catch duplicates entered manually by a user. It
won't catch duplicates created by VBA procedures, recalculations, or copying
& pasting.

Hope this helps,

Hutch

"Susan" wrote:

Hello All,

Have 10 columns of data for each row(record). Dates, serial numbers, dollar
amts.
Sometimes a serial number is keyed twice. What is the best way to find if
there are duplicate serial numbers after keying about 500 records? Is there a
way to prevent?
Using Excel 2002.
Many thanks to all!

Susan

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
duplicate records rcarlo Excel Discussion (Misc queries) 1 December 11th 07 11:30 PM
Extracting the Duplicate Records Santhosh Excel Discussion (Misc queries) 1 April 25th 06 02:16 PM
Identification of duplicate records Uma Ravishankar Excel Worksheet Functions 2 March 16th 06 06:13 PM
Finding duplicate records in multiple worksheets HR Guy Excel Discussion (Misc queries) 2 September 22nd 05 03:45 PM
Finding duplicate records in Excel KG Excel Discussion (Misc queries) 2 December 22nd 04 07:44 PM


All times are GMT +1. The time now is 05:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"