Hi,
I am intermediate user of excel with no coding background. Not sure if I need to use power query or not for this. If not, any VBA code to accomplish the same would be great.
I want to automate the consolidation of data and processing it for 10 production lines.
Each production line has its own folder on the drive.
Within each line's folder, there is a monthly folder example - January, February, March, April etc.
Within each Monthly folder there is a day folder - May 1, May 2 , May 3, etc.
Within each day there are 3 excel files - Shift 1, Shift 2 and Shift 3.
There is a master file located elsewhere on the drive which processes data that is manually transferred to the master file - which is a pain and super time consuming.
The master file contains 2 worksheets for each production line. I would like to copy and paste specific range of cells (H9:R24) from the shift production line files into specific worksheets within the master file specifically made for those production lines.
The column before the cell ranges where I would like to paste the data (in the master file) contains dates and hence I am hoping that the code/query will help me paste via matching the date from within the shift excel file.
Each shift excel file is exactly the same in terms of naming of columns, formatting, formulas etc.
Once pasted into the specific worksheet within the master file, cells in another worksheet (within the master file) use these numbers to process these via formulas and more numbers are generated such as waste % etc. which will be automatically plotted on different graphs.
I would like to super automate this process with a click of the button in the master file to access the data within those files, copy and paste into specific cells in specific worksheets within the master file and process data according to specified formula (already within the cell) to ultimately give processed numbers and graphs for each line for the previous day.
This needs to be repeated for 30 files - 3 files each for each day for 10 lines - every single day first thing in the morning.
Not sure if I need to use power query or not for this. If not, any VBA code to accomplish the same would be great.
Requesting you kindest help.
Thank you !
Waste Data Project Image.PNG
Bookmarks