Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default Annual leave monthly calculation

hi

I have made an exel sheet to calculate the vacation leave for all the
employees
and i have used this formula

C7=starting date
=IF(TODAY()-C710*365,19,IF(TODAY()-C75*365,17,IF(TODAY()-
C70.25*365,15)))

But what i really need is to calculate their leave on monthly basis b
there is too much fractions in the total


Please advise
Tia
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Annual leave monthly calculation

If you want to calculate date differences by month, use the DATEDIF
function:
http://www.cpearson.com/excel/datedif.htm
--
David Biddulph

"Tia" wrote in message
...
hi

I have made an exel sheet to calculate the vacation leave for all the
employees
and i have used this formula

C7=starting date
=IF(TODAY()-C710*365,19,IF(TODAY()-C75*365,17,IF(TODAY()-
C70.25*365,15)))

But what i really need is to calculate their leave on monthly basis b
there is too much fractions in the total


Please advise
Tia



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Annual leave monthly calculation

So, they are entitled to 19 days leave if they have worked for more than 10
years, 17 days if more than 5 years, and 15 days if more than 0.25 years?
All you need to do to get the per-month days is to divide 19, 17 and 15 by
12 in your formula. Then you can multiply this by the number of months since
the start of the year.

Hope this helps.

Pete

"Tia" wrote in message
...
hi

I have made an exel sheet to calculate the vacation leave for all the
employees
and i have used this formula

C7=starting date
=IF(TODAY()-C710*365,19,IF(TODAY()-C75*365,17,IF(TODAY()-
C70.25*365,15)))

But what i really need is to calculate their leave on monthly basis b
there is too much fractions in the total


Please advise
Tia



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
Annual leave without holidays [email protected] Excel Discussion (Misc queries) 3 March 14th 08 06:27 PM
Annual leave [email protected] Excel Discussion (Misc queries) 3 March 12th 08 02:20 PM
Annual Leave Planner peter Excel Discussion (Misc queries) 1 November 1st 06 10:17 AM
Annual Leave Aussie Peter Excel Discussion (Misc queries) 1 January 31st 06 03:25 AM
Tracking annual leave opos New Users to Excel 4 August 15th 05 11:09 AM


All times are GMT +1. The time now is 04:51 AM.

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

About Us

"It's about Microsoft Excel"