In my excel workbook, I have three separate spreadsheets (the spreadsheets are identical in format and represent count values for different categories (passenger cars, trucks, etc.)). I need to combine the spreadsheets in the following way and create a new workbook with the combined data (CombinedCount.xlsx):
='Passenger'!B3+'Heavy Truck'!B3+'Light Truck'!B3
Passenger: sheet 1 Heavy Truck: sheet 2 Light Truck: sheet 3
There are a lot of cells to add together--and this code will be applied to a large number of workbooks with the exact same format. Is there a way to automate this process with some code?
I'm a novice at Python, so I'm learning as I go.