Combine Data within Folder with Descriptive Above Header information

mrmmickle1

Well-known Member
Joined
May 11, 2012
Messages
2,461
Hey there, been a long time since I have posted. Feels good to be back on the board. :)

I have a situation where I have data that has a few descriptors above the table that I would like to keep (I cannot control the format of the files, so it is not an option for me to change the format). In this example I am using only two files but there will be 50 - 60 files in the folder. They will all have the same format as the two in the image. I am trying to combine the data so that it can be aggregated. I have a before and after below as an example. I believe the trick is that I need to complete X number of steps with a file before actually combining the files. I'm not quite sure to accomplish this task. Any help would be very much appreciated. Thank you for taking the time to review my inquiry.

i.e. In my mind these are the steps:

1. Complete x cleaning process for file 1
2. Complete x cleaning process for file 2
2. Complete x cleaning process for file..... etc until end of directory
4. Combine these now individual transformed files....

Here is the before and after images for reference.
 

Attachments

  • Data Combination with Additional Description Info.jpg
    Data Combination with Additional Description Info.jpg
    204.2 KB · Views: 13

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,223,714
Messages
6,174,055
Members
452,542
Latest member
Bricklin

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