F
Forsi
Hello
I am trying to calculate the years a person is employed by the Company,
taking into account the separation date, current date and hire date. For a
person who is still employed the formula =Int(Date()-[hire date])/365.25
would suffice in giving the current years employed. However, it would not
apply to a person who has left the company and you want to show how many
years of service that this person provided. What formula can I use,
incorporating the the [Separation Date] if it falls before the current date?
I know that this is not correct but I'm listing it to show what I'm thinking.
Years Employed: Int(IIf([Separation Date]<>Date(),Int([Separation
Date]-[Hire Date])/365,Int((Date()-[Hire Date])/365)))
Thanks
Forsi
I am trying to calculate the years a person is employed by the Company,
taking into account the separation date, current date and hire date. For a
person who is still employed the formula =Int(Date()-[hire date])/365.25
would suffice in giving the current years employed. However, it would not
apply to a person who has left the company and you want to show how many
years of service that this person provided. What formula can I use,
incorporating the the [Separation Date] if it falls before the current date?
I know that this is not correct but I'm listing it to show what I'm thinking.
Years Employed: Int(IIf([Separation Date]<>Date(),Int([Separation
Date]-[Hire Date])/365,Int((Date()-[Hire Date])/365)))
Thanks
Forsi