Hi,
The trick is to use a new helper row 1 which contains the concatenation of the Job Number & Individual code in C1:N1, i.e. C1= JOB-01SM, D1= JOB-01KB, and the Week reference in Q1:AB1. You can hide this row 1 for presentation purposes.
A tip here, whenever you're in the position of wanting to analyse a database like table 1, make sure you have a unique reference in the header row and left column. By formatting cells like C2 and Q2 with an alignment across cells, you lose the ability to easily work out the column number for use in various functions.
Now enter in Q4 the formula:
And drag across and down.
I'm re-attaching the workbook with the above changes.
HTH
Bookmarks