+ Reply to Thread
Results 1 to 2 of 2

How to combine two sheets

  1. #1
    Registered User
    Join Date
    11-20-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    12

    How to combine two sheets

    I have these 2 files. both of them have common field called "Organization Name". can you please help me link these 2 files and display all data in one file.organization.xlsxnote.xlsx

  2. #2
    Registered User
    Join Date
    02-14-2013
    Location
    South Carolina
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: How to combine two sheets

    I'm generally a proponent of the INDEX(MATCH) method. It will work better if your data is in one workbook, though it's possible to do a data connection, as well.

    This will work with them in separate workbooks, as long as both are open when you write it in the first time:

    In the Organization.xlsx file, add two new column headers for the columns in note.xlsx, in cells E1 and F1.

    Type this formula in cell E2:

    Please Login or Register  to view this content.
    Copy it down and over.

    INDEX looks for a cell by the row and column reference. MATCH will return a reference for where an item exists in a range (5th cell down, 2nd cell across, etc). What we're doing here is using the first MATCH to find which row has the same organization name, and the second MATCH to find which column has the same header name.

    In the first MATCH, we use a dollar sign ($) to lock the Column reference (A) so that it always shows the organization column, even if you copy the formula to columns further right.

    In the second MATCH, we use the same dollar sign ($) to lock the Row reference (1) so that it always shows the header, even if you copy the formula further down.

    The IFERROR portion shows "Not Found" rather than "#N/A", just to give context to the error message.

+ 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] Combine sheets from different sheets into one sheet.
    By visha_1984 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-21-2013, 02:04 AM
  2. Combine two sheets
    By vonborge in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2013, 10:24 PM
  3. [SOLVED] Combine two sheets
    By rose4emi in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-20-2012, 02:37 AM
  4. VBA to combine sheets
    By char221186 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2012, 05:22 AM
  5. [SOLVED] HELP!!! combine 4 different sheets ???
    By TonyKA in forum Excel General
    Replies: 0
    Last Post: 05-13-2005, 01:06 PM

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