+ Reply to Thread
Results 1 to 5 of 5

Finding And Listing Duplicates

  1. #1
    Registered User
    Join Date
    11-21-2005
    Posts
    12

    Finding And Listing Duplicates

    I'm looking for some help in macro. I need to find duplicate from one column compared to another column then list them consecutively in another column. I have the rough macro working but need help making it more dynamic.

    The user makes a selection of values in the first column manually. It then compares it to another column that I have to manually place the range numbers in the formula. I need the range to change in the formula each time a value is added to the compare to column. I tried with the letter z but the method error keeps coming up.

    Also, the output column works but they don't list without having spaces between values.

    I'm working at home & I don't have my notes and worksheets that I have at my work pc and my son asked me to do this for him this weekend.
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,493

    Re: Finding And Listing Duplicates

    This is very similar to your code, it uses a dynamic range instead of an absolute range
    Please Login or Register  to view this content.
    The Vlookup Formula also works

    =IF(ISERROR(VLOOKUP(F8,$J$8:$J$41,1,0)),"",(VLOOKUP(F8,$J$8:$J$41,1,0)))
    Last edited by davesexcel; 05-01-2010 at 10:08 AM.

  3. #3
    Registered User
    Join Date
    11-21-2005
    Posts
    12

    Re: Finding And Listing Duplicates

    Thank you, that works the way it should now. Is there any way the output column could list out in consecutive cells or does the formula cause the blanks to appear?

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,493

    Re: Finding And Listing Duplicates

    This should work...

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-21-2005
    Posts
    12

    Re: Finding And Listing Duplicates

    Thanks again. Had to leave for the weekend and just got back. This will make it work just the way my son described his need.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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