How to Merge Two Dynamic Tables Into One Dynamic Table?

BrettOlbrys1

Board Regular
Joined
May 1, 2018
Messages
139
Office Version
  1. 365
Platform
  1. Windows
Hello. I have two different sources of data, and each dataset continually grows larger (source A & source B). I have a summary file that has two summary sheets (summary A & summary B). The relationship is:

Source A >>> Summary A
Source B >>> Summary B

I want to replace Summary A and Summary B with Summary C. The relationship would be:

Source A & Source B >>> Summary C

How do I create one "Summary C" sheet from two source sheets (A & B) when both A & B are constantly growing larger?

Thanks

Brett
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hello. I have two different sources of data, and each dataset continually grows larger (source A & source B). I have a summary file that has two summary sheets (summary A & summary B). The relationship is:

Source A >>> Summary A
Source B >>> Summary B

I want to replace Summary A and Summary B with Summary C. The relationship would be:

Source A & Source B >>> Summary C

How do I create one "Summary C" sheet from two source sheets (A & B) when both A & B are constantly growing larger?

Thanks

Brett
XLOOKUP can be an answer. But without seeing what kind of data you want to pull from Summary A & Summary B to Summary C, it's difficult to comment further.

Please share some data file or screenshot to understand things better.
 
Upvote 0
XLOOKUP can be an answer. But without seeing what kind of data you want to pull from Summary A & Summary B to Summary C, it's difficult to comment further.

Please share some data file or screenshot to understand things better.

This table represents Summary A from data source A:

Summary A (from Data Source A)
CustomerQuarterProductTotal QtyDateSegmentProd AProd BProd C
Cust B1Prod B3,4291/12/22Seg A3,429
Cust B1Prod B3,8002/4/22Seg B3,800
Cust D1Prod C1,9573/17/22Seg A1,957
Cust C1Prod A2,1883/22/22Seg A2,188
Cust A1Prod B4,0523/24/22Seg A4,052

This table represents Summary B from data source B (they are separate because they have different PRODUCTS):

Summary B (from Data Source B)
CustomerQuarterProductTotal QtyDateSegmentProd AProd BProd C
Cust G1Prod D2,1081/6/22Seg B2,108
Cust D1Prod E2,8211/12/22Seg A2,821
Cust B1Prod D3,0882/4/22Seg A3,088
Cust E1Prod F2,5003/15/22Seg B2,500
Cust F1Prod D2,4063/22/22Seg C2,406

Both Summary A and Summary B are individual line items and each summary has thousands of line items. Each summary grows because as products are sold, more line items will appear in each summary. I don't want two summaries, I only want one (Summary C as an example below).

How do I create a summary C that contains everything in Summary A and Summary B as Data Source A & B keeps growing every day?

Summary C (from Data Source A & Data Source B)
CustomerQuarterProductTotal QtyDateSegmentProd AProd BProd C
Cust G1Prod D2,1081/6/22Seg B2,108
Cust B1Prod B3,4291/12/22Seg A3,429
Cust D1Prod E2,8211/12/22Seg A2,821
Cust B1Prod B3,8002/4/22Seg B3,800
Cust B1Prod D3,0882/4/22Seg A3,088
Cust E1Prod F2,5003/15/22Seg B2,500
Cust D1Prod C1,9573/17/22Seg A1,957
Cust C1Prod A2,1883/22/22Seg A2,188
Cust F1Prod D2,4063/22/22Seg C2,406
Cust A1Prod B4,0523/24/22Seg A4,052
 
Upvote 0
I don't think the Power Query will work because it says the first thing I need to do is convert my data into tables. The sheets I will be pulling from have a formula in cell B1 that is:

SORT(FILTER(INDEX('DATA - Summary Data B'!$A:$AV,SEQUENCE(ROWS('DATA - Summary Data B'!$A:$AV)),{22,21,6,48,2,7,8,20}),('DATA - Summary Data B'!$A:$A<>"")),{4,6},{1,-1})

When I try to create the table, it says there is a SPILL issue because Excel says "We can't SPILL within a Table."
 
Upvote 0
This table represents Summary A from data source A:

Summary A (from Data Source A)
CustomerQuarterProductTotal QtyDateSegmentProd AProd BProd C
Cust B1Prod B3,4291/12/22Seg A3,429
Cust B1Prod B3,8002/4/22Seg B3,800
Cust D1Prod C1,9573/17/22Seg A1,957
Cust C1Prod A2,1883/22/22Seg A2,188
Cust A1Prod B4,0523/24/22Seg A4,052

This table represents Summary B from data source B (they are separate because they have different PRODUCTS):

Summary B (from Data Source B)
CustomerQuarterProductTotal QtyDateSegmentProd AProd BProd C
Cust G1Prod D2,1081/6/22Seg B2,108
Cust D1Prod E2,8211/12/22Seg A2,821
Cust B1Prod D3,0882/4/22Seg A3,088
Cust E1Prod F2,5003/15/22Seg B2,500
Cust F1Prod D2,4063/22/22Seg C2,406

Both Summary A and Summary B are individual line items and each summary has thousands of line items. Each summary grows because as products are sold, more line items will appear in each summary. I don't want two summaries, I only want one (Summary C as an example below).

How do I create a summary C that contains everything in Summary A and Summary B as Data Source A & B keeps growing every day?

Summary C (from Data Source A & Data Source B)
CustomerQuarterProductTotal QtyDateSegmentProd AProd BProd C
Cust G1Prod D2,1081/6/22Seg B2,108
Cust B1Prod B3,4291/12/22Seg A3,429
Cust D1Prod E2,8211/12/22Seg A2,821
Cust B1Prod B3,8002/4/22Seg B3,800
Cust B1Prod D3,0882/4/22Seg A3,088
Cust E1Prod F2,5003/15/22Seg B2,500
Cust D1Prod C1,9573/17/22Seg A1,957
Cust C1Prod A2,1883/22/22Seg A2,188
Cust F1Prod D2,4063/22/22Seg C2,406
Cust A1Prod B4,0523/24/22Seg A4,052
Your requirement is all together different than I initially thought, that's why data sample helps.

The best solution to your problem is merging data using power query. It can be achieved using pivot tables also. These two methods are fast and can append ever increasing data instantly with just a click. Due to Forum rules, I can't share any outside source link. But I have told you the way.
 
Upvote 0

Forum statistics

Threads
1,226,042
Messages
6,188,539
Members
453,481
Latest member
Peolini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top