I haven't the foggiest what you're trying to do.
Why dont you attach a small workbook with:
A sheet called employees
A sheet called Time_data_01 as it is before you run the macro
A sheet called Time_data_01Expected manually filled in as you expect the Time_data sheet to be after the macro is run.
And make it obvious by using different values where values are coming from in the expected sheet.