I would appreciate help with a formula to calculate different levels of employee tenure based on the year they were hired and the criteria below.
Less than 1 Year
1 to 5 Years
6 to 10 Years
Over 10 Years
Thanks!
I would appreciate help with a formula to calculate different levels of employee tenure based on the year they were hired and the criteria below.
Less than 1 Year
1 to 5 Years
6 to 10 Years
Over 10 Years
Thanks!
Do you have a sample workbook and how you want the results to look?
Yes, but I have been unable to attach the document. I'm going to try and copy and paste it. Thank you for responding to me so quickly!
Employee Hire Date < 1 Yr 1-5 Yrs 6-10 Yrs >10 Yrs
Mary Davis 05/01/78
Tom Smith 12/21/87
Kathy Adams 09/18/06
Phillip Jones 01/11/07
Karen Rogers 11/26/08
Denise Long 04/20/09
Jim Little 09/02/10
David Thomas 08/01/11
Rose Busch 01/03/12
Hi Gabby, try this vba code
'use function as =getLevel(H6) ' h6 is hired date cell![]()
Please Login or Register to view this content.
check the attached workbook
Thank you so much for your help!
it's my pleasure
you can also use below code directly in cell, without vba
H6 is hired date cell![]()
Please Login or Register to view this content.
Why don't you click little star(add to reputation) below my post ,
if you feel that I really helped you.![]()
Last edited by Gopal Veeranala; 09-17-2012 at 01:49 PM. Reason: added another code
Am more than happy to, Gopal. I really appreciated your help.
@ Gabby
Welcome to the forum.
Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
Thanks.
Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks