+ Reply to Thread
Results 1 to 8 of 8

Trying to calculate 4 levels of employee tenure based on the year they started

  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2003
    Posts
    5

    Trying to calculate 4 levels of employee tenure based on the year they started

    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!

  2. #2
    Forum Contributor
    Join Date
    05-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    186

    Re: Trying to calculate 4 levels of employee tenure based on the year they started

    Do you have a sample workbook and how you want the results to look?

  3. #3
    Registered User
    Join Date
    09-17-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Trying to calculate 4 levels of employee tenure based on the year they started

    Quote Originally Posted by smls View Post
    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

  4. #4
    Registered User
    Join Date
    09-16-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Trying to calculate 4 levels of employee tenure based on the year they started

    Hi Gabby, try this vba code

    Please Login or Register  to view this content.
    'use function as =getLevel(H6) ' h6 is hired date cell

    check the attached workbook
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-17-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Trying to calculate 4 levels of employee tenure based on the year they started

    Thank you so much for your help!

  6. #6
    Registered User
    Join Date
    09-16-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    7

    Smile Re: Trying to calculate 4 levels of employee tenure based on the year they started

    Quote Originally Posted by Gabby View Post
    Thank you so much for your help!
    it's my pleasure
    you can also use below code directly in cell, without vba

    Please Login or Register  to view this content.
    H6 is hired date cell

    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

  7. #7
    Registered User
    Join Date
    09-17-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Trying to calculate 4 levels of employee tenure based on the year they started

    Am more than happy to, Gopal. I really appreciated your help.

  8. #8
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Trying to calculate 4 levels of employee tenure based on the year they started

    @ 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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1