Displaying multiple leave periods on one table

fullysic

New Member
Joined
Aug 9, 2010
Messages
20
Hi all, I have a bit of a problem I was hoping you could assist with.

I have a data source that contains leave information for all employees, with employees name, start date and end date of leave. I would like to display this information in an easy to read table, with consecutive dates as the column headers, and the employees names as the row headers.

In a perfect world an employee would only take one leave period per year, and this would just be a simple lookup, but where I'm running into problems is that employees will take multiple leave periods in one year, and thus how do I translate these into my table with formulas?

I think I have a solution to do it in VBA, but this is not ideal and would probably take longer, so I'm hoping someone here could point me in the right direction.

Here is a link to a sample workbook I prepared to demonstrate what I am after. It will give you a much better idea of what I am talking about.

http://d01.megashares.com/index.php?d01=6be9d00

Really appreciate the assistance.

fullysic
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,203,069
Messages
6,053,351
Members
444,655
Latest member
didr

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