View Single Post
  #10  
Old April 9th, 2009, 10:43 PM posted to microsoft.public.excel.worksheet.functions
WilliamsDeLisle
external usenet poster
 
Posts: 10
Default Calculate Months to Determine Length of Service

I made a mistake - sorry - You are correct the first two are 5 months the
last on is 3 months.

"Rick Rothstein" wrote:

I don't understand why the middle range is 5 months whereas the last range
is 4 months. Given the 5 month answer (using half months for rounding I
think), I would have expected the last one to be 3 months... can you explain
how you are rounding?

--
Rick (MVP - Excel)


"WilliamsDeLisle" wrote in
message ...


"Rick Rothstein" wrote:

How do you count your months? For example, how many months do you think
are
between these date ranges?

1/1/2008 - 5/1/2008 - 4 Months

1/1/2008 - 5/31/2008 - 5 Months

1/31/2008 - 5/1/2008 - 4 Month

--
Rick (MVP - Excel)


"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.