Results 1 to 5 of 5

Thread: Merge Two Tables In To One Using Formula

  1. #1
    Senior Member
    Join Date
    Mar 2013
    Posts
    146
    Rep Power
    0

    Merge Two Tables In To One Using Formula

    I want to merge (Table 1) with the table (2) and the result (Table 3)
    And I hope will be answered by formulas
    I am using Office 2003
    Attached Files Attached Files

  2. #2
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Hi,

    if there is no blank cells in at least column B, this will do the trick.

    B23 and copied down & across,

    =IF(ROWS(B$23:B23)<=COUNTA($B$4:$B$8)+COUNTA($B$14 :$B$18),INDEX(($B$4:$F$8,$B$14:$F$18),IF(ROWS(B$23 :B23)<=COUNTA($B$4:$B$8),MOD(ROWS(B$23:B23)-1,COUNTA($B$4:$B$8)),MOD(ROWS(B$23:B23)-COUNTA($B$4:$B$8)-1,COUNTA($B$14:$B$18)))+1,COLUMNS(B23:$B23),INT((R OWS(B$23:B23)-1)/IF(ROWS(B$23:B23)<=COUNTA($B$4:$B$8),COUNTA($B$4:$ B$8),COUNTA($B$14:$B$18)+1)+1)),"")
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

  3. #3
    Senior Member
    Join Date
    Mar 2013
    Posts
    146
    Rep Power
    0
    You did it
    Thank you, Mister (Admin)
    You are wonderful
    Attached Files Attached Files

  4. #4
    Member
    Join Date
    Jul 2012
    Posts
    55
    Rep Power
    13
    Hi,

    INDIA is missing in Table 3 (USA is 2 times)

  5. #5
    Senior Member
    Join Date
    Mar 2013
    Posts
    146
    Rep Power
    0
    You're right
    the row No. (28) Repeater
    I think the right solution
    Like this
    Attached Files Attached Files
    Last edited by mahmoud-lee; 02-07-2014 at 08:14 PM.

Similar Threads

  1. VLookup Across Multiple Tables By Condition
    By mahmoud-lee in forum Excel Help
    Replies: 6
    Last Post: 02-13-2014, 05:50 AM
  2. Search in tables
    By mahmoud-lee in forum Excel Help
    Replies: 3
    Last Post: 07-21-2013, 10:30 PM
  3. Update All Tables With Newly Added Data
    By redja71 in forum Access Help
    Replies: 5
    Last Post: 07-16-2013, 07:06 AM
  4. VBA Code to create Pivot tables
    By Howardc in forum Excel Help
    Replies: 2
    Last Post: 08-05-2012, 02:41 AM
  5. Reading Access tables using INNER JOIN
    By Rasm in forum Excel Help
    Replies: 2
    Last Post: 02-04-2012, 09:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •