Counting Dates

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all,
I want to calculate our employees benefit from a specific date up to now
which covers 7 months. How should determine a specific period so it returns
me a specific value considering different hire dates of employees.
Ex:
I need a fomula to calculate the number to months and considering the
following:
if the hire date between 1 and 15 Jan it should return me 7 months and if an
employee hire date is between 16 and 31 Jan then it should return me 6.5
months and also if the hire date is between 1 and 15 Feb then it should
retrun 6 months and if the hire date is between 16-28 Feb it should be 5.5
months.
Thanks,
 
Or use this

=IF(DAY(Date)-DAY($B11)>0,1,0.5)+MONTH(Date)-MONTH(B11)+(YEAR(Date)-YEAR(B11))*12

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Recognizing specific dates with formula 2
Calculating time between mulitple dates 4
DATES 4
SUMPRODUCT with Date? 3
Excel Help with dates 2
Vacation days from date of hire 15
Comparing Dates 3
Expanding Date formula 1

Back
Top