Hello tobiahjadam,

If you can post a sample workbook or the complete workbook, I can add the macro in for you. It will also give me a chance to run the macro on the actual data and make any needed adjustments.