Solution Formula Required - Employee Holidays

Redders17

New Member
Joined
Jul 15, 2017
Messages
1
Hi All,

First post on here, been quite self sufficient for some time however this one exceeds my excel talents and looking into the wider talent pool for a solution.

I have an operational planner whereby I would like to automate the inclusion of employee holidays from another source on the network. So far I can pull the relevant data on a week by week basis into it's relevant week tab. This data will have "1" if the the employee is on leave and "0" if not; here's an example:

[TABLE="width: 865"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD] [TABLE="width: 459"]
<colgroup><col><col span="5"></colgroup><tbody>[TR]
[TD] [/TD]
[TD="align: right"]42947[/TD]
[TD="align: right"]42948[/TD]
[TD="align: right"]42949[/TD]
[TD="align: right"]42950[/TD]
[TD="align: right"]42951[/TD]
[/TR]
[TR]
[TD]Employee A[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Employee B[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Employee C[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]

The end goal would be to work the data on a larger scale (50+ employees) into the below format where in the first cell it has the employees name with the cells from left to right having the first holiday date and last holiday date. Then with every subsequent Employee list below that. If an employee is to return to work mid-week before going on holiday again this would be illustrated as a new line. See below how the above data would be presented:

Start day Last day
Employee B 42947 42947
Employee B 42951 42951
Employee C 42948 42950


Note: Employee A is not present and Employee B has 2 lines as he returns to work midweek.

Your help will be most appreciated.

Thank you in advance.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,223,958
Messages
6,175,642
Members
452,663
Latest member
MEMEH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top