+ Reply to Thread
Results 1 to 4 of 4

Matching data and copying row to different sheet

  1. #1
    Registered User
    Join Date
    10-29-2013
    Location
    Perth, Western Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Matching data and copying row to different sheet

    Hi all,

    I am trying to find a way to compare a range of values across another sheet to find all the rows that match any number in the range of cells, but having a bit of an issue coming across a solution that will work. I prefer a formula but will work with a macro if need be.
    For business reasons I can't paste the document in question but I can describe following:

    I have a sheet (1) that contains the numbers I am looking for which will be the range of cells to compare with.
    Another sheet (2) contain a large amount of data with drivers and consignment numbers (consignment numbers are the common factor here)
    Whatever row that contain the matching consignment number I would like to be copied to a final sheet (3)

    Hope someone got a solution for me as I have been using google to my fullest to try and find a solution that will work but so far no luck.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Matching data and copying row to different sheet

    Looks like an INDEX &small(if ..issue but we need a small sample workbook for testing this..

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    10-29-2013
    Location
    Perth, Western Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Matching data and copying row to different sheet

    Thanks for the reply, I have now attached the sample data and hope that will help.
    Attached Files Attached Files

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Matching data and copying row to different sheet

    I am not able to find the common columns. Which are the columns in eatch sheet that we must compare?

    I find the "ConsignmentNo" in second sheet but not in first sheet.

  5. #5
    Registered User
    Join Date
    10-29-2013
    Location
    Perth, Western Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Matching data and copying row to different sheet

    Quote Originally Posted by Fotis1991 View Post
    I am not able to find the common columns. Which are the columns in eatch sheet that we must compare?

    I find the "ConsignmentNo" in second sheet but not in first sheet.
    In first sheet it's in column W and also labelled "ConsignmentNo"

    Cheers.

  6. #6
    Registered User
    Join Date
    10-29-2013
    Location
    Perth, Western Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Matching data and copying row to different sheet

    Sorry for the doubling of posts, please delete this one if you have the time.
    Last edited by DanishDudeAU; 10-29-2013 at 05:13 AM. Reason: duplicate

+ 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. [SOLVED] Creating New Worksheets, Copying Data to New Sheet Based on Matching Column Header
    By cbauer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-08-2017, 03:21 AM
  2. [SOLVED] Code for searching multiple worksheets and copying matching data to 1 w/sheet
    By lambi15 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-09-2013, 07:58 AM
  3. Pattern matching and then copying PasteSpecial to another sheet
    By hanott1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2011, 04:31 PM
  4. Matching one to many from one sheet to another, then copying
    By bluegnu in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-10-2009, 06:49 AM
  5. Matching Values and Copying to A new sheet.
    By adienspade in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 10-20-2008, 06:51 AM

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