I have a massive spreadsheet of data, which through a separate workflow is broken into 60+ workbooks based on one field. As a next step, I need to take each of these workbooks individually, and provide a total at the bottom (below the last row) for 4 columns. The totals need to reflect "column XYZ cell 2 through column xyz cell *last cell with data*." Following this I need to input a row of totals from a separate report under the contract, and finally a row with these two created rows totaled. Each spreadsheet of these 60+ then needs to be saved separately once again.
After this, I need to take that final row of $ and add it into a new workbook for "current totals", with only one row per "Job". ie. if job 1 shows $300 total with $100 for area 1 and $200 for area 3, and job 2 shows $100 total with $100 for area 1 and $100 for area 2 (note that totals may not equal area 1 plus area 2 plus xxx) ; the additional workbook would show the job reference in column 1, and total in column 2, with an additional column for each area. In this example it would show:
*Job *Total *Area1 *Area2 *Area3 * Area4
Job 1 $300 $100 $0 $200 $0
Job 2 $100 $100 $100 $0 $0
I am not certain of how to best pursue these actions. I have attached an example; the final workbook will replicate "Example Prev. Data", but will be based on the new data totals.
I am not finding the proper trainings to explain the process for such an action and appreciate any assistance. I am playing with wildcard syntax and batch macros, but have not identified a solution as of yet.