Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
AG
 
Posts: n/a
Default assign value for period of time

I'm trying to figure out a formula for annual leave.
I need it to calcultate for the month. For example:

Days 1 thru 6 would = 0.5
7-12=0.5
13-18=0.5
19-24=0.5
25-31=0.5
Equaling 2.5 days for a month. If the start date is 4 jan 05 and the end
date is 15 feb 05 the total would be 4.0 total days earned

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Where does 4 come from?

Where is the num days stored?

Do weekends count?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"AG" wrote in message
...
I'm trying to figure out a formula for annual leave.
I need it to calcultate for the month. For example:

Days 1 thru 6 would = 0.5
7-12=0.5
13-18=0.5
19-24=0.5
25-31=0.5
Equaling 2.5 days for a month. If the start date is 4 jan 05 and the end
date is 15 feb 05 the total would be 4.0 total days earned



  #3   Report Post  
AG
 
Posts: n/a
Default

Military leave is calculated .5 days of leave for every 6 days.
What I'm trying to do is calculate the number of leave days earned while on
active duty. For example a reservist is mobilized on the 10th of March 04
and comes off of active duty on 1 Apr 05. Since he started on 10 March 04
the leave earned for the month of March would be 2 days. From Apr 04 to Mar
05 he would earn 2.5 days for each month and since his last day is 1 Apr 05
he would only earn 0.5 for the month of Apr. If you start active duty any
day between 1-6 of the month, you will earn 2.5 days for that month, any
period between the 7-12 of the month you would earn 2 days and so on. If you
end active duty any day between 1-6 of the month you would only earn 0.5 days
of leave for that month. 7-12 would be 1 day, etc..
Everyday of the month counts. Days stored is "F5" The 4 came from
calculating from 4 Jan which for Jan I would earn 2.5 days and to 15 Feb I
would earn 1.5 days which equals 4.

Thanks for any help!

"Bob Phillips" wrote:

Where does 4 come from?

Where is the num days stored?

Do weekends count?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"AG" wrote in message
...
I'm trying to figure out a formula for annual leave.
I need it to calcultate for the month. For example:

Days 1 thru 6 would = 0.5
7-12=0.5
13-18=0.5
19-24=0.5
25-31=0.5
Equaling 2.5 days for a month. If the start date is 4 jan 05 and the end
date is 15 feb 05 the total would be 4.0 total days earned




Reply
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
time differences in a column 68magnolia71 Excel Worksheet Functions 3 May 9th 05 09:46 PM
Accumulate weekly time to total time in Excel. delve Excel Discussion (Misc queries) 0 May 4th 05 08:14 PM
Time Sheet Calculation Help Needed! sax30 Excel Worksheet Functions 2 April 26th 05 08:08 PM
Time Sheets Lady Layla Excel Discussion (Misc queries) 1 March 23rd 05 03:22 PM
unmet challenge boris Excel Worksheet Functions 2 March 16th 05 02:13 PM


All times are GMT +1. The time now is 02:21 AM.

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"