Upfront. Not able to provide the compleet solution but find my ideas as reference below and stored in attached workbook version 9.3
Concerning "dynamic header" you will find numerous post on this forum...
Hope it helps to get things started.
display.twbx 14.4 KB
I can not see any workbook attached.
Can you please resend that.