+ Reply to Thread
Results 1 to 4 of 4

Tweak Macro to find Matches instead of unique use dictionary

  1. #1
    Forum Contributor
    Join Date
    07-11-2010
    Location
    Minneapolis, USA
    MS-Off Ver
    Excel 2016
    Posts
    308

    Tweak Macro to find Matches instead of unique use dictionary

    The Macro finds all the unique values in column B of sheet("YYY") that are NOT in coluwn A of sheet("XXX").

    Is there a way to alter it so that it finds all the matches between these two columns?

    I know there are otherways to do this but I was hoping to do this with Dictionay method

    Thank you


    Please Login or Register  to view this content.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Tweak Macro to find Matches instead of unique use dictionary

    Use a countif() formula in helper column and apply the filter for the helper column and select >0 values and copy paste it in a separate location.

    Delete the helper column


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    07-11-2010
    Location
    Minneapolis, USA
    MS-Off Ver
    Excel 2016
    Posts
    308

    Re: Tweak Macro to find Matches instead of unique use dictionary

    thanks Sixthsence I will give it a try

  4. #4
    Valued Forum Contributor
    Join Date
    03-21-2013
    Location
    cyberia
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: Tweak Macro to find Matches instead of unique use dictionary

    if you really do want a dictionary approach, you could consider the following
    on a new sheet, put a few values in columnA and a few values in ColumnB, with several values common to both columns
    then run the below macro.
    if it does produce the kind of result that you want, it's easily modified to columns on different sheets as your opening post seems to request
    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. Tweak Matcding macro using arrays to find all non- Matching rows as well
    By capson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-26-2014, 08:30 PM
  2. Macro Adds Unique ID Sums & Leaves One Entry As Required But Needs Little Tweak
    By thussain in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-10-2013, 08:49 AM
  3. Find Matches in two different Spreadsheets without unique ID
    By oxy11 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-13-2011, 02:51 PM
  4. Replies: 3
    Last Post: 10-27-2009, 02:59 PM
  5. Replies: 1
    Last Post: 10-27-2009, 07:04 AM

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