Thanks jdraw. Unfortunately I can't share the data as it is confidential but I have created a simple example of what I am trying to do. I have searched, but I can't find what I am looking for, probably because I am missing something!
Attached is a very simple database. The [Original Data]...