CaptnAbraham
New Member
- Joined
- Feb 10, 2022
- Messages
- 14
- Office Version
- 2019
- Platform
- Windows
Dear people of the world~
It is a questions surely asked many a times... and answered a few times.
I have received, from a third party, some 200+ inspection reports of apartments. Each apartment is one Excel file with one Sheet in them (but named differently).
The two photo snippets show the beginning and the end of one of the files.
My task would be to merge all the relevant / recorded data (yellow cells) into a table. Unfortunately this third party's report is not very data-friendly...
In my olden days I would...
a) open one of the files and copy the future header information (in this case column B mostly, but not exclusively, there are also sub-fields as well in the following columns this time around...) into a new file,
b) link the two files / data entry cells together into one row (here: yellow) for all x-hundred cells (into new columns)
c) copy the finished row and use the replace button to... replace the file name with the next one
d) repeat b)+c) for as many times as needed
This can't be the future... I have tried to use PowerQuery and I could load the files no problem... but it's a mess obviously. Cleaning it up, while I'm able to do basic things with normal data sets, is in this case over my head. Is it even possible? Would VBA be a better solution for this? It's close to 600 individual cells... I don't have the imagination how to even start on that (though I guess if the task for one cell is repeatable, I would have to simply replicate that code... 600 times... and be done with it?).
Any pointers on what to use to automate such a task? If an example then on how to do that is at your hands, that would be heavenly.
Cheers and thanks for reading through my ramble, haha.
It is a questions surely asked many a times... and answered a few times.
I have received, from a third party, some 200+ inspection reports of apartments. Each apartment is one Excel file with one Sheet in them (but named differently).
The two photo snippets show the beginning and the end of one of the files.
My task would be to merge all the relevant / recorded data (yellow cells) into a table. Unfortunately this third party's report is not very data-friendly...
In my olden days I would...
a) open one of the files and copy the future header information (in this case column B mostly, but not exclusively, there are also sub-fields as well in the following columns this time around...) into a new file,
b) link the two files / data entry cells together into one row (here: yellow) for all x-hundred cells (into new columns)
c) copy the finished row and use the replace button to... replace the file name with the next one
d) repeat b)+c) for as many times as needed
This can't be the future... I have tried to use PowerQuery and I could load the files no problem... but it's a mess obviously. Cleaning it up, while I'm able to do basic things with normal data sets, is in this case over my head. Is it even possible? Would VBA be a better solution for this? It's close to 600 individual cells... I don't have the imagination how to even start on that (though I guess if the task for one cell is repeatable, I would have to simply replicate that code... 600 times... and be done with it?).
Any pointers on what to use to automate such a task? If an example then on how to do that is at your hands, that would be heavenly.
Cheers and thanks for reading through my ramble, haha.