+ Reply to Thread
Results 1 to 2 of 2

How to merge columns by matching respective row

  1. #1
    Registered User
    Join Date
    01-27-2012
    Location
    United States of America
    MS-Off Ver
    Excel 2007
    Posts
    1

    Question How to merge columns by matching respective row

    Hi everyone I'm looking for a way to do some merging a very specific way. I've tried looking for a way to do this and everything that I've found is a little different that what I'm trying to do. At this point I'm at information overload and so I need some help to do this. In my mind doing this should be easy, but I just don't know "how" to do it.

    So anyway, I'm looking for a way to merge columns from two different spreadsheets while merging the information to its respective row (case#).

    Here is the scenario:
    -------------------------------------------
    spreadsheet #1
    spreadsheet1.png
    -------------------------------------------
    spreadsheet #2
    spreadsheet2.png
    ---------------------------------------------------
    spreadsheet #1 << THIS IS WHAT THE END RESULT WOULD LOOK LIKE
    spreadsheet1-merged.png
    ---------------------------------------------------

    What I'm trying to do is look up where the case number from the second spreadsheet appears in the first spreadsheet. Then pulling the bedroom and bathroom columns and moving them to the first spreadsheet respective to the case number. What is the simplest way that I would do this. Keep in mind that the second spreadsheet does not contain all of the case numbers (as I've tried to demonstrate in the example)that the first spreadsheet does, so I can't flat-out copy and paste the columns because they would not match up to the correct case number.

    Thanks for any help
    Nik

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Re: How to merge columns by matching respective row

    try this code from Spreadsheet 1, whilst both the spreadsheets are open.
    Please Login or Register  to view this content.

+ 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. How to find matching primary key cell in two sheets and paste respective rows
    By urfreund2000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-24-2014, 03:29 PM
  2. Replies: 4
    Last Post: 07-17-2014, 03:45 AM
  3. Replies: 2
    Last Post: 07-17-2014, 03:45 AM
  4. Inserting the data in to respective columns
    By sathishkm in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 10-11-2013, 03:53 PM
  5. [SOLVED] Find empty cell till next value merge or copy the respective cells in next column
    By rpriyadharsini1987 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2013, 03:46 AM
  6. [SOLVED] Matching a value in a column & then summing a respective cell from a the matched value..
    By Scottie in BKK in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-07-2012, 12:40 PM
  7. Comparing Columns and getting a respective value.
    By Sake9t in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-26-2006, 10:27 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