#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Vacatio Accrual

Hello,

I am in the process of creating a Vacation/Sick Accrual worksheet. I am
familiar with excel and yet I am having trouble with my formulas. No matter
what I keep getting an error in them. Employees accrue 10 days a year for
the first five years and 15 days a year after five years and they do not
start accruing unital after their first sixty days fo employment. I have to
calculate some of the employees all the way back to April of 2005. I hoping
to get some helpful formulas to calculate this.
--
Afroines
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Vacatio Accrual

=IF(TODAY()-start_date<60,0,IF(YEAR(TODAY())-YEAR(start_date)+
((DATE(YEAR(TODAY()),MONTH(start_date),DAY(start_d ate))<=TODAY())*0.1)-
((DATE(YEAR(TODAY()),MONTH(start_date),DAY(start_d ate))TODAY())*0.1)<=5,10,15))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"AFroines" wrote in message
...
Hello,

I am in the process of creating a Vacation/Sick Accrual worksheet. I am
familiar with excel and yet I am having trouble with my formulas. No
matter
what I keep getting an error in them. Employees accrue 10 days a year for
the first five years and 15 days a year after five years and they do not
start accruing unital after their first sixty days fo employment. I have
to
calculate some of the employees all the way back to April of 2005. I
hoping
to get some helpful formulas to calculate this.
--
Afroines



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Vacatio Accrual

Bob,

Perhaps I am missing something but surely

=IF(TODAY()-Start_date<60,0,IF(DATEDIF(Start_date,TODAY(),"y") =5,15,10))

Will return the same result. Or if the OP meant by

start accruing unital after their first sixty days fo employment.


That the years are counted from a date 60 days after the Start_Date then

=IF(TODAY()-Start_date<60,0,IF(DATEDIF(Start_date,TODAY()+60," y")=5,15,10))



--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Bob Phillips" wrote in message
...
=IF(TODAY()-start_date<60,0,IF(YEAR(TODAY())-YEAR(start_date)+
((DATE(YEAR(TODAY()),MONTH(start_date),DAY(start_d ate))<=TODAY())*0.1)-
((DATE(YEAR(TODAY()),MONTH(start_date),DAY(start_d ate))TODAY())*0.1)<=5,10,15))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)



"AFroines" wrote in message
...
Hello,

I am in the process of creating a Vacation/Sick Accrual worksheet. I am
familiar with excel and yet I am having trouble with my formulas. No
matter
what I keep getting an error in them. Employees accrue 10 days a year
for
the first five years and 15 days a year after five years and they do not
start accruing unital after their first sixty days fo employment. I have
to
calculate some of the employees all the way back to April of 2005. I
hoping
to get some helpful formulas to calculate this.
--
Afroines





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Vacatio Accrual

Sandy,

Ok so just to clarify for myself in the formula you entered below I am meant
to reference the cell with the start date where Start_Date is?

I did try this and I am keep getting an error in the formula.
--
Afroines


"Sandy Mann" wrote:

Bob,

Perhaps I am missing something but surely

=IF(TODAY()-Start_date<60,0,IF(DATEDIF(Start_date,TODAY(),"y") =5,15,10))

Will return the same result. Or if the OP meant by

start accruing unital after their first sixty days fo employment.


That the years are counted from a date 60 days after the Start_Date then

=IF(TODAY()-Start_date<60,0,IF(DATEDIF(Start_date,TODAY()+60," y")=5,15,10))



--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Bob Phillips" wrote in message
...
=IF(TODAY()-start_date<60,0,IF(YEAR(TODAY())-YEAR(start_date)+
((DATE(YEAR(TODAY()),MONTH(start_date),DAY(start_d ate))<=TODAY())*0.1)-
((DATE(YEAR(TODAY()),MONTH(start_date),DAY(start_d ate))TODAY())*0.1)<=5,10,15))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)



"AFroines" wrote in message
...
Hello,

I am in the process of creating a Vacation/Sick Accrual worksheet. I am
familiar with excel and yet I am having trouble with my formulas. No
matter
what I keep getting an error in them. Employees accrue 10 days a year
for
the first five years and 15 days a year after five years and they do not
start accruing unital after their first sixty days fo employment. I have
to
calculate some of the employees all the way back to April of 2005. I
hoping
to get some helpful formulas to calculate this.
--
Afroines






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
How do I calculation vacation accrual? WizTech Excel Worksheet Functions 2 April 4th 23 10:51 AM
Accrual Formula Corey H. Excel Worksheet Functions 3 January 30th 07 08:04 PM
Vacation Accrual formula vane0326 Excel Worksheet Functions 1 May 19th 06 03:44 AM
Vacation/Sick accrual [email protected] Excel Worksheet Functions 0 February 15th 06 07:43 PM
Interest Accrual Question Kent Excel Discussion (Misc queries) 1 December 23rd 04 10:39 PM


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