+ Reply to Thread
Results 1 to 12 of 12

Address for each instance of duplicated record

  1. #1
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Address for each instance of duplicated record

    Hello,

    I know the general rule is to start your coding first, then post what you have in order to get hell, but honestly I am having an issue getting this started.

    I have a transaction ID that's being tracked in column "T", if it detects a duplicated record it alerts the user via message. My issue is, how do I put in a message box the address for each instance of the duplicated record? I can get the address for the current instance of the duplication, I just cant figure out how to get the address for the previous instance.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,677

    Re: Address for each instance of duplicated record

    Could you attach a sample file?
    Quang PT

  3. #3
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: Address for each instance of duplicated record

    I will work on putting a sample file togther, everything is somewhat a mess right now. In the interim, this is code that I am using alert the user of the duplicated record found in column "T". I just need to find out how to find the address of both duplicates.

    Please Login or Register  to view this content.

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,677

    Re: Address for each instance of duplicated record

    I could not find somewhere the code trigger change in column T?

    And, does the formula in column H help to find dupplication in column T? What is it?

  5. #5
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,721

    Re: Address for each instance of duplicated record

    Looking for the first same Value as Range(E1) in Column T.
    Please Login or Register  to view this content.
    The inherent weakness of the liberal society: a too rosy view of humanity.

  6. #6
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: Address for each instance of duplicated record

    Quote Originally Posted by jolivanes View Post
    Looking for the first same Value as Range(E1) in Column T.
    Please Login or Register  to view this content.

    @Jolivanes, I am trying to edit your code to make it work, but apparently I dont fully understand the code. I used formulas to identify the duplicates in column "T", it is highlighted immediately while the user is typing and a message shown. I then clear out, cells: "H, I and J" of the same row to force the user to reenter the data. The challenge is, I want to show the address of the duplicates found, first the one in the active row in column "T" then the other one somewhere else in the same column "T". How do i accomplish the last part of displaying the address of duplicates in column "T"?

  7. #7
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: Address for each instance of duplicated record

    Quote Originally Posted by bebo021999 View Post
    I could not find somewhere the code trigger change in column T?

    And, does the formula in column H help to find dupplication in column T? What is it?

    @bebo121999 I used formulas to identify the duplicates in column "T", it is highlighted immediately while the user is typing and a message shown. I then clear out, cells: "H, I and J" of the same row to force the user to reenter the data. The challenge is, I want to show the address of the duplicates found, first the one in the active row in column "T" then the other one somewhere else in the same column "T". How do i accomplish the last part of displaying the address of duplicates in column "T"?

  8. #8
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,721

    Re: Address for each instance of duplicated record

    Read Post #2 again.

  9. #9
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: Address for each instance of duplicated record

    Kindly see the attached sample workbook, thank you for trying to assist.

    Shipping Log sample.xlsm

  10. #10
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: Address for each instance of duplicated record

    Any suggestions please

  11. #11
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: Address for each instance of duplicated record

    I am just trying to display the addresses of the duplicates found in column "T". Any suggestions would be greatly appreciated.

  12. #12
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,721

    Re: Address for each instance of duplicated record

    I don't see any duplicates in Column T that we can use for testing.

    Re: "I just cant figure out how to get the address for the previous instance."
    Explain what this means please.

+ 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] match and index for more than one record if data is the duplicated
    By murray83 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-12-2018, 12:47 PM
  2. Make cell containing last instance of a duplicated value active VBA
    By Immortal2014 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-28-2017, 03:03 AM
  3. Rank range but use only one instance of duplicated ranking
    By nigelog in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-05-2016, 01:02 PM
  4. [SOLVED] Formula to Sum Up Values from duplicated and add next to Corresponding Unique record
    By Franky alta in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-27-2015, 08:20 AM
  5. [SOLVED] Last Instance of a record in a list
    By Mike952 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-23-2015, 01:23 PM
  6. find 2nd instance of a duplicated value in an index/match formula?
    By Bobbo Jones in forum Excel Formulas & Functions
    Replies: 30
    Last Post: 06-14-2013, 09:42 AM
  7. How to delete duplicated records. Each record has four lines
    By Arcesio Hernandez in forum Excel General
    Replies: 2
    Last Post: 07-26-2005, 07:05 PM

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