Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Carter68
 
Posts: n/a
Default Check for Duplicates

I have 2 worksheets with names and addresses. Is there a way to check to see
if any of the names on worksheet 2 are duplicated from worksheet 1. If so,
is there a way to indicate which of these are duplicates? Name would be in
Column A and Address would be in Column 2.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Don Guillett
 
Posts: n/a
Default Check for Duplicates

You could use FINDNEXT (look in vba help) within a for/each in the range
loop.

--
Don Guillett
SalesAid Software

"Carter68" wrote in message
...
I have 2 worksheets with names and addresses. Is there a way to check to
see
if any of the names on worksheet 2 are duplicated from worksheet 1. If
so,
is there a way to indicate which of these are duplicates? Name would be
in
Column A and Address would be in Column 2.

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pdberger
 
Posts: n/a
Default Check for Duplicates

Carter --
Here's a two-step process. Someone else will chime in with something far
more elegant.

A B C
1 ABC ABC formula here
2 DEF ABD
3 GHI
4 JKL

=countif($a$1:$a$4,b1)

then copy down. Once that's done you can use DataFilter to display just
the lines that have something other than a '0' in column C.

HTH. Kind of brute force, but it works.
Here's the formula you put in C1:


"Carter68" wrote:

I have 2 worksheets with names and addresses. Is there a way to check to see
if any of the names on worksheet 2 are duplicated from worksheet 1. If so,
is there a way to indicate which of these are duplicates? Name would be in
Column A and Address would be in Column 2.

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ashish Mathur
 
Posts: n/a
Default Check for Duplicates

Hi,

You may try the following in sheet 1.

In the first row (say A3), enterthe following array formula (Ctrl+Shift+Enter)

=if(or(exact(A3,range in sheet 2))

Regards,


"Carter68" wrote:

I have 2 worksheets with names and addresses. Is there a way to check to see
if any of the names on worksheet 2 are duplicated from worksheet 1. If so,
is there a way to indicate which of these are duplicates? Name would be in
Column A and Address would be in Column 2.

Thanks!

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
... Can I set Spell Check to automatically check my spelling ... Dr. Darrell Setting up and Configuration of Excel 0 March 21st 06 08:26 PM
Entry into check box dependent on other check box. Stilla Excel Worksheet Functions 9 December 10th 05 03:44 PM
Can you sort with check boxes? Q Excel Discussion (Misc queries) 3 November 10th 05 08:11 PM
How do I use a check box to accept a calculation Joejoethecrackman Excel Discussion (Misc queries) 5 March 22nd 05 08:47 PM
Creating a check box that does not require security clearance. Maverick2U Excel Worksheet Functions 6 December 14th 04 02:46 AM


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