Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ed P
 
Posts: n/a
Default Finding Duplicate text strings with a single column

I have a list of e-mail addresses. I want to find all the duplicates. I have
sorted the list but the list is extremly long.
I have not found an effective method for doing this. I want the result to
show me where those duplicates occur.
Can anyone help me?
Thank you

Ed
  #2   Report Post  
Max
 
Posts: n/a
Default

Give this a try ..

Assuming the email list is in col A, A2 down

Enter a label in B1

Put in B2: =IF(COUNTIF($A$2:A2,A2)1,"X","")
Copy B2 down

This will mark all duplicates in col A with "x"

Do an autofilter in B1, select "X"

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Ed P" wrote in message
...
I have a list of e-mail addresses. I want to find all the duplicates. I

have
sorted the list but the list is extremly long.
I have not found an effective method for doing this. I want the result

to
show me where those duplicates occur.
Can anyone help me?
Thank you

Ed



  #3   Report Post  
Max
 
Posts: n/a
Default

Alternatively, instead of

Put in B2: =IF(COUNTIF($A$2:A2,A2)1,"X","")
Copy B2 down


If there's the possibility of whitespaces (invisible)
within the email addresses in col A

Put in B2:
=IF(SUMPRODUCT((TRIM($A$2:A2)=TRIM(A2))*(TRIM(A2)< ""))1,"X","")
Copy B2 down, as before

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----


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
space between text strings with concatenate Jeff Excel Discussion (Misc queries) 2 March 3rd 05 06:54 PM
Compare cells/columns and highlight matching text strings luxbelle Excel Worksheet Functions 1 February 25th 05 06:34 PM
Finding Partial Text in a Cell bob Excel Worksheet Functions 6 December 18th 04 05:03 AM
Putting text in a column based on variable text from another colum Jacky D. Excel Discussion (Misc queries) 1 December 16th 04 06:09 PM
Filter long Text strings Cimorene Excel Worksheet Functions 0 December 1st 04 04:01 AM


All times are GMT +1. The time now is 08:13 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"