Power Query or Macro to Aggregate Tables

gitmeto

Board Regular
Joined
Nov 24, 2021
Messages
60
I am in the process of considering options to consolidate data from multiple tables. The tables have all the same structure (column labels and number of columns). In total there are 31 tables that need to be aggregated. However, although the structure is consistent, the data is indexed by date and there is variability as to the start date for each table. I thought that PQ would be the answer but it seems as though it will only aggregate data that is consistent or matching, meaning if the dates do not match it will not aggregate the data. Unless there is a way to aggregate data, my other option would be to run a macro, index each table by the date and grab the info to populate a table.

Is there a way to aggregate data that have different number of rows, or does this follow general matrix rules, same number of rows and same number of columns?
 
@severynm, I am not sure what value posting the data would provide. It should be a simple merge based on columns that I select given the description of a full join. I went ahead and built the tables using a macro.

I appreciate your willingness to help.

Stay well!
 
Upvote 0

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,221,503
Messages
6,160,195
Members
451,630
Latest member
zxhathust

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