Hi I'm trying to create a column Type based on the condition like if the employee is working for Day then there should be a row named days in column type and if the same employee is doing overtime as well we need another row with hours in the same type column and the overtime hours need to be summed and updated in the hours column. could anyone please help me on how do i move forward with this . Attaching an example input and output. Thank you
INPUT

OUTPUT
