+ Reply to Thread
Results 1 to 3 of 3

Identifying Duplicate Values (2nd, 3rd, and 4th occurance)

  1. #1
    Registered User
    Join Date
    New Jersey, US
    MS-Off Ver
    Excel 2010

    Identifying Duplicate Values (2nd, 3rd, and 4th occurance)

    Hi so the issue here is that I have a list of "GPC" or company identification numbers. And for every campaign being sent to the company it will have the same GPC of identification code. I want a formula that indicates if it is the first time mailing the company (as a result return nothing for column D ""), the second time mailing them, third, or fourth. So basically I need a formula to find the duplicate values and return whether it is the first, second, third, or fourth time that code appears in column A.

    The current formula I have is a little off because it checks against the cell beforehand. I'm not sure how to modify the formula or what different forumla I need. Attached is an example. I am looking at column A and trying to return the data in D. You can also see the faulty formula I currently have in place.

    Any help would be greatly appreciated, thanks!

    - Rob
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016

    Re: Identifying Duplicate Values (2nd, 3rd, and 4th occurance)

    In D2 put

    =IF(COUNTIF($B$2:B2,B2)=2,"Second Account Mailing",IF(COUNTIF($B$2:B2,B2)=3,"Third Account Mailing",IF(COUNTIF($B$2:B2,B2)=4,"Fourth Account Mailing","")))

    and drag down.

    daffodil example for montoro22.xlsx

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    Port Dover, Ontario, Canada
    MS-Off Ver

    Re: Identifying Duplicate Values (2nd, 3rd, and 4th occurance)

    Enter this formula in D2 and copy down the column.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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] Help needed! Identifying duplicate values with functions
    By PdubNZL in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-14-2013, 08:19 PM
  2. Identifying duplicate lines using multiple values
    By dantray in forum Excel General
    Replies: 8
    Last Post: 02-09-2012, 10:51 AM
  3. Identifying Range of Different Duplicate Values
    By stonegwene in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-05-2011, 02:05 PM
  4. Excel 2007 : Identifying Duplicate Records
    By markdtp in forum Excel General
    Replies: 1
    Last Post: 03-04-2011, 09:18 PM
  5. Identifying Duplicate Entries
    By jroberts in forum Excel General
    Replies: 5
    Last Post: 01-13-2007, 04:33 PM

Tags for this Thread


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