Okay.
Best I can do within the limits of the data supplied.
1/. I have added conditional formatting to sheet "Final" to detect some errors.
2/. If after importing your data any row in sheet "Final" shows yellow, then run this macro
3/. Ihave retained the formulae with some slight modification, these could be improved, but if they work leave them as they are.
I suspect that you will probably want to delete sheet "Data" and have only values in sheet "Final"
To best acheive this I would Copy and PasteSpecial > Values sheet "Final" to a new sheet then export that sheet to a new workbook, retaining this workbook as a template.
Hope this helps
Bookmarks