+ Reply to Thread
Results 1 to 5 of 5

Can't figure out the best way to combine data from separate worksheets. Index? Match?

  1. #1
    Registered User
    Join Date
    02-16-2015
    Location
    California
    MS-Off Ver
    Excel for Mac 2011 V 14.4.7
    Posts
    31

    Can't figure out the best way to combine data from separate worksheets. Index? Match?

    In the attached file, I'm trying to combine rows from tab 1 and tab 2.

    In the combined tab, it should pull data from tab 1 (including blank cells), until an entire row is blank, and then go onto tab 2 and pull the same.

    In the combined tab, there are no blank rows (between tab 1 & 2 data) until all the data has been pulled.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,258

    Re: Can't figure out the best way to combine data from separate worksheets. Index? Match?

    Unless I missed something, a simple copy and paste from both sheets (Tab1 then Tab2) would achieve the end result (based on your sample file),

  3. #3
    Registered User
    Join Date
    02-16-2015
    Location
    California
    MS-Off Ver
    Excel for Mac 2011 V 14.4.7
    Posts
    31

    Re: Can't figure out the best way to combine data from separate worksheets. Index? Match?

    Unfortunately, it's more complicated than the example I posted. I am receiving data from about a dozen different sources and the data isn't consistent across all customers. So if I copy paste, I would have to copy column by column (often various columns) depending on which customer.

    So that's why I would like to do a lookup on column heading.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,258

    Re: Can't figure out the best way to combine data from separate worksheets. Index? Match?

    Can you post a more "complicated" file as it still isn't obvious to me (unless your columns are inconsistent) why you cannot copy rows and pate.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,258

    Re: Can't figure out the best way to combine data from separate worksheets. Index? Match?

    Try this for column A to combine the two tabs: If it works change INDEX ranges to other columns.

    =IF('Tab 2'!$A2="",IFERROR(INDEX('Tab 1'!A:A,SMALL(INDEX(('Tab 1'!$A$2:$A$100="")*10^10+ROW('Tab 1'!$A$2:$A$100),0),ROWS($1:1)-COUNTIF('Tab 2'!$A$2:$A$100,"<>"))),""),IFERROR(INDEX('Tab 2'!A:A,SMALL(INDEX(('Tab 2'!$A$2:$A$100="")*10^10+ROW('Tab 2'!$A$2:$A$100),0),ROWS('Tab 2'!$A$2:$A2))),""))

    ASSUMPTION: There are no blanks between rows in column A .

+ 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] Can't quite figure how to use INDEX/MATCH with Table using brackets (< and >)
    By KomicJ in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-21-2015, 01:01 PM
  2. Combine 3 separate workbooks, each with 6 worksheets
    By billycasper in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-17-2014, 07:16 AM
  3. Macro to Copy data from two separate worksheets and combine into a third worksheet
    By Excel-RZ in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-20-2013, 07:12 AM
  4. Index, match, match Question!. Seems so simple but can't figure it out...
    By huikimhuikim in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-12-2013, 01:57 PM
  5. [SOLVED] Index and Match to Combine Data from Several Workbooks
    By IrrepressibleXL in forum Excel General
    Replies: 5
    Last Post: 03-28-2012, 06:03 PM
  6. Replies: 3
    Last Post: 08-07-2011, 06:52 AM
  7. figure:Index/Match
    By Tommy1005 in forum Excel General
    Replies: 9
    Last Post: 01-10-2011, 09:22 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