+ Reply to Thread
Results 1 to 2 of 2

Insert full row from worksheer to another base on condition

  1. #1
    Registered User
    Join Date
    02-04-2012
    Location
    canada
    MS-Off Ver
    Excel 2010
    Posts
    1

    Insert full row from worksheer to another base on condition

    HI There,

    I need your help with this issue:

    sheet1

    A B C
    1 JHON ON1 2
    2 FADI ON3 6
    3 BRIAN ON4 5
    4 MOHN ON9 2
    5 ALEX ON6 7

    sheet2

    A B C
    1 JHON ON1 2
    2 BRIAN ON4 7
    3 ALEX ON6 7
    4 FADI ON3 8

    I want sheet3 to be:
    A B C
    1 JHON ON1 2
    2 FADI ON3 6
    3 FADI ON3 8
    4 BRIAN ON4 5
    5 BRIAN ON4 7
    6 MOHN ON9 2
    7 ALEX ON6 7


    I want macro to compare betwwen sheet1 and sheet2,
    John & Alex were in both and same value in C col, copy to sheet three

    Fadi & Brian were in both but different value in C col, copy row to sheet3 and fill the row copied from sheet2 with "green for example"

    Mohn was only in sheet1, copy to sheet3

    I have attached the file

    Sorry being my question is long, but really I need help

    Thanks in advance

    Ziyadh
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Insert full row from worksheer to another base on condition

    Hey Ziyadh,

    You can use this code -
    Please Login or Register  to view this content.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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