I’m pretty sure that manipulation of the SUMPRODUCT function will solve my problem…but I can’t figure out what that manipulation is. So here’s my question:
Is there a way to calculate – within a single cell – a multi-dimensional (i.e. multiple criteria) product of a range of values when the inputs for the criteria exist on a separate table?
For example, let’s say I want to calculate the total cost of both the regular and overtime hours worked by a group of employees. The employees’ hours over a three-day period are shown in the last three columns of the table below (Day1, Day2, and Day3):
<tbody>
</tbody>
However, the regular and overtime wages for the employees are in a separate table, below:
<tbody>
</tbody>
Is there a formula that will calculate – within a single cell – the total cost of all hours worked per employee wage and wage type? (Hint: The answer is $2,912.50)
FYI: I can re-sort and/or reorganize the employee wage table (the 2nd table above) if I need to. I can’t, however, do anything about the layout of the ‘Hours Worked’ table.
Is there a way to calculate – within a single cell – a multi-dimensional (i.e. multiple criteria) product of a range of values when the inputs for the criteria exist on a separate table?
For example, let’s say I want to calculate the total cost of both the regular and overtime hours worked by a group of employees. The employees’ hours over a three-day period are shown in the last three columns of the table below (Day1, Day2, and Day3):
Employee | Wage Type | Day1 | Day2 | Day3 |
Bill | Regular | 8 hours | 6 hours | 8 hours |
Bill | Overtime | 2 hours | 1 hours | |
Mary | Regular | 7 hours | 8 hours | 8 hours |
Mary | Overtime | 2 hours | 2 hours | |
Kathryn | Regular | 10 hours | 10 hours | 10 hours |
John | Regular | 6 hours | 8 hours | 4 hours |
John | Overtime | 1 hours |
<tbody>
</tbody>
However, the regular and overtime wages for the employees are in a separate table, below:
Employee | Regular | Overtime |
Kathryn | $35.00 / hour | $35.00 / hour |
Mary | $20.00 / hour | $30.00 / hour |
John | $25.00 / hour | $37.50 / hour |
Bill | $30.00 / hour | $45.00 / hour |
<tbody>
</tbody>
Is there a formula that will calculate – within a single cell – the total cost of all hours worked per employee wage and wage type? (Hint: The answer is $2,912.50)
FYI: I can re-sort and/or reorganize the employee wage table (the 2nd table above) if I need to. I can’t, however, do anything about the layout of the ‘Hours Worked’ table.