baillieston
Board Regular
- Joined
- Jan 9, 2003
- Messages
- 94
Is there a way that I can achieve this with VBA code or with formula.
I have a sheet with 9 columns
They are headed as follows:
Employee
Task
Min worked Mon dd/mm/yy
Min worked Tue dd/mm/yy
Min worked Wed dd/mm/yy
Min worked Thu dd/mm/yy
Min worked Fri dd/mm/yy
Min worked Sat dd/mm/yy
Min worked Sun dd/mm/yy
Min worked being the minutes worked on a task
rows would look like this
Employee A : Task 1 : 50 : 20: 120:0:0:20:0:
Employee B : Task 3 : 50 : 20: 120:0:0:70:0:
Employee C : Task 5 : 0 : 20: 200:0:0:20:0:
Employee D : Task 1 : 10 : 20: 40:0:0:20:0:
I have hundreds of rows already like this.
My problem is I would like to change the set up to read like this:
Columns would now be named as follows:
Date
Employee
Task
Mins Worked
My example would now look like this:
Mon 14/02/05 : Employee A: Task 1:50
Tue 15/02/05 : Employee A: Task 1:20
Wed 16/02/05 : Employee A: Task 1:120
Thu 17/02/05 : Employee A: Task 1:0
Fri 18/02/05 : Employee A: Task 1:0
Sat 19/02/05 : Employee A: Task 1:20
Sun 20/02/05 : Employee A: Task 1:0
Mon 14/02/05 : Employee B: Task 3:20
Hope this makes sense.
I don't know how to include an example like the ones some people include.
Hope someone can help me here.
Thanks
I have a sheet with 9 columns
They are headed as follows:
Employee
Task
Min worked Mon dd/mm/yy
Min worked Tue dd/mm/yy
Min worked Wed dd/mm/yy
Min worked Thu dd/mm/yy
Min worked Fri dd/mm/yy
Min worked Sat dd/mm/yy
Min worked Sun dd/mm/yy
Min worked being the minutes worked on a task
rows would look like this
Employee A : Task 1 : 50 : 20: 120:0:0:20:0:
Employee B : Task 3 : 50 : 20: 120:0:0:70:0:
Employee C : Task 5 : 0 : 20: 200:0:0:20:0:
Employee D : Task 1 : 10 : 20: 40:0:0:20:0:
I have hundreds of rows already like this.
My problem is I would like to change the set up to read like this:
Columns would now be named as follows:
Date
Employee
Task
Mins Worked
My example would now look like this:
Mon 14/02/05 : Employee A: Task 1:50
Tue 15/02/05 : Employee A: Task 1:20
Wed 16/02/05 : Employee A: Task 1:120
Thu 17/02/05 : Employee A: Task 1:0
Fri 18/02/05 : Employee A: Task 1:0
Sat 19/02/05 : Employee A: Task 1:20
Sun 20/02/05 : Employee A: Task 1:0
Mon 14/02/05 : Employee B: Task 3:20
Hope this makes sense.
I don't know how to include an example like the ones some people include.
Hope someone can help me here.
Thanks