LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LEG LEG is offline
external usenet poster
 
Posts: 16
Default Calculate within a time range with only start date and end date

Is there an excelfunktion (Excel 2007 version) to calculate:
How many employees are on leave of absence on a certain date, when I only
have a start date (first day in a month) in cell G2 and end date (last day in
a month) in cell H2 and the time range can vary from 0,5 to 5 years. I have
a periode of 3 years (2007 to 2009) in which I have to find out how many are
on leave on certain dates f.eks. Feb. 1 2008 and Aug. 1 2009.
Employee 1: jan 07 to jun 07 (result should be 0 on both dates)
Employee 2: jan 07 to dec 09 (result should be 1 on both dates)
Employee 3: mar 08 to mar 10 (result should be 0 on feb. 1 2008 and 1 on
Aug.1 2009)
As I have over 300 employees in the time range, it would take me a long time
to do it manually.
Any help would be appreciated.

--
LEG-denmark
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to calculate end date using order date and lead time variab BWA Excel Worksheet Functions 3 August 15th 08 04:48 PM
How do I calculate WORK-hours between end/start date CHRISTI Excel Discussion (Misc queries) 0 January 16th 08 06:51 AM
Calculate Start Date tommcbrny Excel Worksheet Functions 4 October 12th 07 12:47 PM
Calculating Difference Between Start Date & Time And End Date & Ti Samwar Excel Discussion (Misc queries) 2 December 19th 05 12:42 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM


All times are GMT +1. The time now is 05:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"