A Microsoft Office (Excel, Word) forum. OfficeFrustration

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. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Finding duplicate names



 
 
Thread Tools Display Modes
  #1  
Old June 14th, 2004, 06:14 PM
Matt in AZ
external usenet poster
 
Posts: n/a
Default Finding duplicate names

Thanks. That worked great!
--
Matt in AZ


"Max" wrote:

Try this ..

Assuming the data in cols A and B are in row1 down

Put in C1: =TRIM(A1&" "&B1)

Put in D1:

=IF(COUNTIF($C$1:C1,C1)1,"Duplicate","Not a Duplicate")

Select C11 and copy down

For the sample data in your post
C14 will now contain:

Jen Black....Not a Duplicate
Jack Black..Not a Duplicate
Jen white.....Not a Duplicate
Jen white.....Duplicate

Think the first occurence of "Jen white" should rightly tag as
"Not a Duplicate" instead of "Duplicate"
(as indicated in your post)

--
Rgds
Max
xl 97
---
Please respond in thread
xdemechanik atyahoodotcom
----
"Matt in AZ" wrote in message
...
Okay, I got a list of people's names. Column A are first names. Column B

is last names. In colum C I need a formula that will put the word duplicate
if the last names and first names are the same. This is the formual that I
think can be modified, but I'm not sure how to modify it:

=IF(COUNTIF(Range1,???)1,"Duplicate","Not a Duplicate")

This is kind of what I want:
Column A Column B Column C
Jen Black Not a duplicate
Jack Black Not a duplicate
Jen white Duplicate
Jen white Duplicate




  #2  
Old June 14th, 2004, 08:18 PM
Max
external usenet poster
 
Posts: n/a
Default Finding duplicate names

Pleasure' Matt !

--
Rgds
Max
xl 97
---
Please respond in thread
xdemechanik atyahoodotcom
----
"Matt in AZ" wrote in message
...
Thanks. That worked great!
--
Matt in AZ



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:48 PM.


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