bernie1973
New Member
- Joined
- Feb 25, 2017
- Messages
- 6
I am new to excel and self teaching, most likely doing it all the long way but every day is a learning day
I am attempting to extract information from worksheet 1 into worksheet 2.
Worksheet 1 is a record of employees and their hours worked on a daily basis for the full year.
1 employee in per row for 50 rows, 365 columns for each day of the year.
I am required to report back on a weekly basis the hours each individual has taken for annual leave, worked, overtime, sick leave etc
Below is an extract from worksheet 1 looks like
<colgroup><col width="101" style="width: 76pt; mso-width-source: userset; mso-width-alt: 3693;">
<col width="30" style="width: 23pt; mso-width-source: userset; mso-width-alt: 1097;" span="16">
<tbody>
</tbody>
Worksheet 2 layout:
<colgroup><col width="47" style="width: 35pt; mso-width-source: userset; mso-width-alt: 1718;">
<col width="68" style="width: 51pt; mso-width-source: userset; mso-width-alt: 2486;" span="4">
<tbody>
</tbody>
The formula I am looking for is to be inserted into worksheet 2, from the information be ascertained from worksheet 1 so for calculating for total annual leave at week 1 for all employees the range would be B8:H51, with the permutations to count being a = 12 hours, a11 = 11 hours, a10 = 10hours leave taken all the way down to a1 where only 1 hour of leave has been taken.
Hopefully I have explained it good enough, if not please get back in touch.
I am attempting to extract information from worksheet 1 into worksheet 2.
Worksheet 1 is a record of employees and their hours worked on a daily basis for the full year.
1 employee in per row for 50 rows, 365 columns for each day of the year.
I am required to report back on a weekly basis the hours each individual has taken for annual leave, worked, overtime, sick leave etc
Below is an extract from worksheet 1 looks like
01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | |
Sun | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Mon | |
Employee 1 | d | d | n | n | d | d | n | n | n | |||||||
Employee 2 | d | d | n | n | d | d | n | n | n | |||||||
Employee 3 | d | d | n | n | d | d | n | n | n | |||||||
Employee 4 | d | d | n | n | d | d | n | n | n | |||||||
Employee 5 | d | d | n | n | d | d | n | n | n | |||||||
Employee 6 | d | d | n | n | d | d | n | n | n | |||||||
Employee 7 | d | d | n | n | d | d | n | n | n | |||||||
Employee 8 | d | d | n | n | d | d | n | n | n |
Worksheet 2 layout:
Week No | Week Start | Week Ending | Annual Leave (A) | Over time (OT) |
1 | 01 Jan | 07 Jan | ||
2 | 08 Jan | 14 Jan | ||
3 | 15 Jan | 21 Jan | ||
4 | 22 Jan | 28 Jan | ||
5 | 29 Jan | 04 Feb | ||
6 | 05 Feb | 11 Feb | ||
7 | 12 Feb | 18 Feb | ||
8 | 19 Feb | 25 Feb | ||
9 | 26 Feb | 04 Mar |
The formula I am looking for is to be inserted into worksheet 2, from the information be ascertained from worksheet 1 so for calculating for total annual leave at week 1 for all employees the range would be B8:H51, with the permutations to count being a = 12 hours, a11 = 11 hours, a10 = 10hours leave taken all the way down to a1 where only 1 hour of leave has been taken.
Hopefully I have explained it good enough, if not please get back in touch.