LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Formula-Find Duplicates

Using Excel 2003. I have a ws with 3000+ rows of data that I need to find at
least the first instance of a duplicate. I copied and modified the following
formula from http://www.cpearson.com/excel/Duplicates.aspx, however I am
getting incorrect results:
=IF(COUNTIF($A$1:$A$3500,A1)=1,FALSE,COUNTIF($A$1: A1,A1)=1)

In some cases, the fomula gives the correct results, other areas it will
give the result of "True" although the entry is unique, other areas the
result is "False" and there are at least 3 entries in the column. Following
are samples of the results:

This section the results are OK:
Column A B C D
4536057761268403 1 50000 TRUE
4536057761268403 1 40000 FALSE
4536057781990705 1 30000 FALSE
4536057811016703 1 50000 TRUE
4536057811016703 1 40000 FALSE
4536057811645204 1 50000 TRUE
4536057811645204 1 40000 FALSE
4536057811645204 1 30000 FALSE

This section I get True on a unique entry:
5047429900014284707 21 112800 FALSE
5047429900014292510 1 30000 TRUE
5047429900014294003 21 122000 FALSE

This section I get False on a multiple:
5047429900014294904 1 42000 FALSE
5047429900014294920 21 120000 FALSE
5047429900014294920 21 35000 FALSE
5047429900014294920 21 115500 FALSE
5047429900014295273 1 48200 FALSE

Am I using the formula incorrectly, or is there simply too much data to
compare that it doesn't work on every row? The results, correct and
incorrect, are mixed throught the worksheet. All numbers in Column A are
formatted as 'Text'.

Any help would be appreciated, I have a large document I am trying to
finalize.
Thanks!
--
Linda
 
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
Find duplicates, sum column then delete duplicates aileen Excel Programming 3 December 11th 08 05:03 PM
Formula to find and list duplicates Charlotte B Excel Worksheet Functions 4 September 19th 08 05:32 PM
Formula to seek and find duplicates Oli Excel Discussion (Misc queries) 2 May 18th 07 12:54 PM
Find Duplicates Shirley Munro Excel Discussion (Misc queries) 1 February 16th 06 11:56 AM
Find duplicates R. Choate Excel Discussion (Misc queries) 5 November 28th 04 10:14 PM


All times are GMT +1. The time now is 03:45 PM.

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"