+ Reply to Thread
Results 1 to 3 of 3

Comparison Macro

  1. #1
    Registered User
    Join Date
    07-26-2006
    Posts
    2

    Comparison Macro

    Hi

    I am having trouble with coding a macro to perform a task on two tables. I need to take each of the values in the first column of table 1 in turn and check if this value is anywhere in the first column of table 2. If there is a match then I need to take the whole row where the value is in table 1 and copy it into a third table.

    Thanks

  2. #2
    Tom Ogilvy
    Guest

    RE: Comparison Macro

    http://www.cpearson.com/excel/duplicat.htm

    --
    Regards,
    Tom Ogilvy


    "seanmartin26" wrote:

    >
    > Hi
    >
    > I am having trouble with coding a macro to perform a task on two
    > tables. I need to take each of the values in the first column of table
    > 1 in turn and check if this value is anywhere in the first column of
    > table 2. If there is a match then I need to take the whole row where
    > the value is in table 1 and copy it into a third table.
    >
    > Thanks
    >
    >
    > --
    > seanmartin26
    > ------------------------------------------------------------------------
    > seanmartin26's Profile: http://www.excelforum.com/member.php...o&userid=36817
    > View this thread: http://www.excelforum.com/showthread...hreadid=565235
    >
    >


  3. #3
    Registered User
    Join Date
    07-26-2006
    Posts
    2
    Cheers mate I think this is of help.

    Sean

+ 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