+ Reply to Thread
Results 1 to 2 of 2

Check for duplicate values within the same worksheet

  1. #1
    Registered User
    Join Date
    08-16-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1

    Check for duplicate values within the same worksheet

    Hi,

    I am looking for a macro which can find duplicates within the same workbook. My problem is as below:
    1. I have an excel workbook with a bunch of fields, records in it; each record is having a unique "name" string(column b of Sheet 1).
    2. I have a list of strings listed in Sheet 2(column a) organised one below the other.

    I need to check each string listed in Sheet 2(column a) with the strings in Sheet 1(column b). If the sheet 2 string matches with any of the strings listed in sheet 1(column b), it should return true else return false; and place the result in column b of Sheet 2.

    Is it possible?

    Can anyone help? I know how programming works but don't know how to code.

    Thanks in Advance!
    Ashish.
    Last edited by aashishd233; 08-16-2013 at 03:31 PM.

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Check for duplicate values within the same worksheet

    in sheet 2, cell B1 (assuming your strings start in row 1), type in:

    =IF(ISNA(VLOOKUP(A1,Sheet1!B:B,1,0)),"False","True")

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 06-22-2011, 07:46 PM
  2. how to check if a row has duplicate values
    By luv2glyd in forum Excel General
    Replies: 3
    Last Post: 03-22-2010, 09:00 AM
  3. Check for duplicate values?
    By Ed in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-09-2006, 12:35 PM
  4. how can I check a worksheet for duplicate entries or numbers?
    By RFI in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-19-2005, 12:05 AM
  5. Count duplicate values in worksheet
    By Quek HS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-18-2005, 12:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1