I've got a data set of people who are sitting exams. Details for the exams are listed in columns horizontally across the spreadsheet and can be identified by the prefix "CPL - " then the exam ID, and next to this column there is an exam sitting date which can be identified by the prefix "Sitting - " then then exam ID.
To complicate matter there is also a Resits column which I would like to stack into the dataset, but not for every exam and this has, these column are identified by having the word "Resits" in the column heading. There is also the possibility that nex exams will be added into the input sheet, hence the dynamic element of this.
I have included an example Excel file with two tabs, one is the Input data, I have highlighted in green the static headers and in blue a sample of the header I have included as part of the second tab which is the desired output.
Any help on steps to complete what I'm after would be much appreciated as so far I've not got very far at all.