LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Calculate Months to Determine Length of Service

This information is great for calculating the length of service now I need
help with the second part of my question which is:

IF Statement would be If 0-60 months 8 Hours accrued each month, if
61-120 months 10 hours accrued each month, If 121-180 months 12 hours
accrued each month, if more than 181 months then 14 hours accrued each
month. When I try to put in an argument I get an error message.

**This accrual amount for each month must be used in the monthly column if
the worksheet for that month has 100% for the hours worked in cell C02 of
each month.

i.e.,:

Column A Column B
(Month) (Earned)**
JULY-08 ________ (see the description above)
AUG-08
SEPT-08
OCT-08
NOV-08


"T. Valko" wrote:

Try this:

A1 = start date

=DATEDIF(A1,NOW(),"m")

--
Biff
Microsoft Excel MVP


"WilliamsDeLisle" wrote in
message ...
I need to be able to input a beginning employment date, i.e., 10/12/1994
and
calculate the number of months between this date and the current date to
determine the amount of vacation earned per month to be used in an IF
formula.

EXAMPLE: Start Date 06/13/85 current date 04/9/09 = How Many Months
IF Statement would be If 0-60 months 8 Hours accrued each month, if
61-120
months 10 hours accrued each month, If 121-180 months 12 hours accrued
each
month.





 
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
Calculating Average Length of Service EasyPeasy Excel Worksheet Functions 3 May 17th 23 07:44 PM
Function to calculate the Length of Service of an Employee Grd Excel Worksheet Functions 8 November 16th 09 09:22 AM
Employee Length of Service Kim Excel Worksheet Functions 5 December 22nd 08 02:39 PM
Length of service calculated in calender months. Dave Excel Discussion (Misc queries) 2 February 23rd 07 07:42 AM
Length of Service Dom Excel Worksheet Functions 7 July 17th 06 10:47 PM


All times are GMT +1. The time now is 03:33 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"