\1

In the last column, in the cell that is highlighted, I want to find the total number of prod hours that was reported for 1st shift, and in the next column after that (not shown in pic), the total prod hours reported for 2nd shift.

If there were no hours reported for 1st shift in that row then the total for 1st shift in the last column would obviously be zero, so simple words, I want to find the total prod hours reported per shift for that ID# in that row. But how do I do that with a =sumifs option since both my search and criteria range are both horizontal? Thanks