+ Reply to Thread
Results 1 to 4 of 4

Identify Which Cells in Column are Duplicates

  1. #1
    Forum Contributor
    Join Date
    11-10-2011
    Location
    New York, NY
    MS-Off Ver
    MS Office: Excel 365
    Posts
    163

    Identify Which Cells in Column are Duplicates

    Hi,

    I have a large data table with a column including text in each row. Some cell values occure multiple times in the column, others don't.

    Is it possible to have a formula next to this column which returns a value (let's say "ORIGINAL") next to the first occurrence, and a separate value (let's say "DUPLICATE") next to a cell if a matching value already occurred before it (i.e. it's a duplicate).

    If a value only has one occurance, it can say "ORIGNAL"

    Thank you!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Identify Which Cells in Column are Duplicates

    Hi,

    Assuming Data is in column A then in B1 copied down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identify Which Cells in Column are Duplicates

    Try one of these formulas...

    Data Range
    A
    B
    C
    1
    Bill
    Original
    Original
    2
    Bill
    Duplicate
    Duplicate
    3
    Sue
    Original
    Original
    4
    Kris
    Original
    Original
    5
    Lisa
    Original
    Original
    6
    Lisa
    Duplicate
    Duplicate
    7
    Sue
    Duplicate
    Duplicate
    8
    Biff
    Original
    Original
    9
    Mandy
    Original
    Original
    10
    Lisa
    Duplicate
    Duplicate


    This formula entered in B1 and copied down:

    =IF(COUNTIF(A$1:A1,A1)=1,"Original","Duplicate")

    This formula entered in C1 and copied down:

    =IF(MATCH(A1,A:A,0)=ROW(),"Original","Duplicate")

    The formula in column C is more efficient especially if you have many rows of data.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Identify Which Cells in Column are Duplicates

    Hi
    If your data is ordered then try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. [SOLVED] Formula to identify duplicates in the same column
    By Stephen R in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-19-2015, 01:10 PM
  2. [SOLVED] How to identify Duplicates in a column using Formula (Not filters)
    By karthikskengeri in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-20-2013, 08:06 AM
  3. Replies: 2
    Last Post: 12-21-2012, 12:42 AM
  4. Identify Duplicates in columns and copy corresponding colums in next column
    By sreesatya in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-04-2012, 01:02 PM
  5. Can vba code identify duplicates numbers in a column via a message window?
    By lilsnoop in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2012, 07:51 AM
  6. How to identify duplicates using another column
    By NKRA in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-20-2010, 04:37 PM
  7. How can I identify Duplicates in a column?
    By RDMRDM in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-29-2009, 05:36 PM

Tags for this Thread

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