Good morning:
I work for a trucking company and have several years worth of load & payroll data.
The data is contained in 2 tables.
Table 1 columns are: date, truck, driver, load, miles
Table 2 columns are: week start, week end, driver, cost.
Each driver can do multiple loads per day and what I'm trying to do is create a way to figure a labor cost per truck either by load or by day. The end result is to combine the data with 3 other tables in a power pivot controlled by a timeline to get a cost per day per truck. the 3 other tables are typical trucking expenses and are formatted: date, truck, driver, expense.
I've tried a couple variations of sumifs as well as multiple ands but either get an error or return value of zero.
Any assistance would be greatly appreciated.
I work for a trucking company and have several years worth of load & payroll data.
The data is contained in 2 tables.
Table 1 columns are: date, truck, driver, load, miles
Table 2 columns are: week start, week end, driver, cost.
Each driver can do multiple loads per day and what I'm trying to do is create a way to figure a labor cost per truck either by load or by day. The end result is to combine the data with 3 other tables in a power pivot controlled by a timeline to get a cost per day per truck. the 3 other tables are typical trucking expenses and are formatted: date, truck, driver, expense.
I've tried a couple variations of sumifs as well as multiple ands but either get an error or return value of zero.
Any assistance would be greatly appreciated.