+ Reply to Thread
Results 1 to 2 of 2

How to Match a column with another sheet's column and copy paste the Entire Row&Column aft

  1. #1
    Registered User
    Join Date
    05-29-2015
    Location
    Orlando Florida
    MS-Off Ver
    2011 Mac
    Posts
    2

    How to Match a column with another sheet's column and copy paste the Entire Row&Column aft

    I have been trying to achieve this for a while. Thank you in advance for your help.

    This will be a script that will be based on 2 excel files: fileA and fileB (if you can't do this with different excel or sheets then consider having all date in one sheet but in different columns, obviously)
    use Column A in fileA as a way to connect to Column X in fileB;
    if column A and X data matches then copy all the data in the same row from column X to the infinite right.
    Maybe I confuse you with this explanation, but here is an example; let's assume we have in fileA we have these columns:
    A) Phone Number (as identifier)
    B) Name
    C) Surname
    D) Address


    and I have fileB with columns:
    E) Phone Number (as an identifier)
    F) country
    G) zip
    H) Car Brand


    Now, I want to be able to match the entire row and column from excel fileA column A with fileB column E.
    After we match them we need to copy everything from column F,G,H of fileB and move it to FileA and paste it in columns E,F,G.
    So, we copy paste everything including titles and all the column from original file, but we make sure it is also matching in the same row as the phone number (identifier).

    Can this be a single script or will it be many scripts? Can someone guide me in doing this?

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: How to Match a column with another sheet's column and copy paste the Entire Row&Column

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. 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 shown, mock them up manually if necessary.

    Remember to desensitize the data.

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

    View Pic
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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. Automatic COPY and PAST entire Column to another sheet column
    By irfanfun in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-24-2014, 09:38 AM
  2. Copy entire Column B and paste to Column I
    By pderas in forum Excel General
    Replies: 7
    Last Post: 04-03-2014, 07:49 PM
  3. [SOLVED] Match value(s) in column with headers of another sheet and paste a cell value from column
    By Zoediak in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-17-2013, 11:34 AM
  4. Copy paste entire row different sheet column C
    By nahge123 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-15-2012, 02:16 PM
  5. If Y in column N, copy&paste entire row into new sheet
    By BSCIEddy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2011, 04:58 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