Think I have finally grasped what you mean...hopefully. My problem, other than stupidity :), was that in my head I saw a spreadsheet with names running down the left , courses etc across the top and data in the cells.
The Add1,2,3,4 in both the Pri and NOK tables are where I have broken the...