For those of you looking for a way to calculate the sum using 2 way lookup, use this calculation.

=SUMIF(CELL RANGE OF LOOKUP, Cell criteria of "What you want to find", INDEX(the range of numbers you want to total up for the criteria ,, MATCH(The header of where your totals will show up, for me it is scheduled mins header , The header above your mins..(
Both header text in the match function must be the same.