+ Reply to Thread
Results 1 to 6 of 6

Comparing list from two different sheets and returning partial row if No Match

  1. #1
    Registered User
    Join Date
    05-16-2013
    Location
    Southern Illinois
    MS-Off Ver
    Excel 2007
    Posts
    4

    Comparing list from two different sheets and returning partial row if No Match



    This above link is similar to what I am looking for, but it would not work in my SS. Here is what I am looking to do. (I have very little VB/Macro experience)

    1. Compare Column G of Worksheet 1 to column G of WS 4
    2. If there is a Match, Do nothing
    3. If there is NO Match, return columns A-G of WS1 to the next empty row in WS 4

    Any help with this would be much appreciated! I have found numerous scripts on this forum, but none seem to do what I would like. I have one macro in the worksheet that will do a complete copy of all the data in columns A-G, but it does not check for matches and copies everything everytime!

    Thanks Again!
    TEST.xlsm

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Comparing list from two different sheets and returning partial row if No Match

    You have 3 sheets and it is not clear which one is sheet1 or WS4?

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Comparing list from two different sheets and returning partial row if No Match

    I assumed Current RMA is sheet1. I think the columns you want to copy are A-H, not G, otherwise the units will be omitted
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-16-2013
    Location
    Southern Illinois
    MS-Off Ver
    Excel 2007
    Posts
    4

    Thumbs up Re: Comparing list from two different sheets and returning partial row if No Match

    Thank you so much! I will make sure I am more exact on what I need next time (correct naming of sheets and columns). This worked like a charm though!

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Comparing list from two different sheets and returning partial row if No Match

    loser420,
    You are welcome!

    Could you please now close (Mark) this thread as solved? Go in to the top right-hand side of this page, choose "Thread Tools" from the menu, then select "solved" from the drop down menu.

  6. #6
    Registered User
    Join Date
    05-16-2013
    Location
    Southern Illinois
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Comparing list from two different sheets and returning partial row if No Match

    AB33

    One more question, Can I bring over the formatting as well as the values? I have some conditional formatting that I would like to see moved as well for easier viewing. If not I will just work on adding the formatting to the 'Repair Info' Sheet, it is just based off another cell in Current RMA that I am not copying over.

    Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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