+ Reply to Thread
Results 1 to 3 of 3

Calculating vacation entitlement

  1. #1
    Forum Contributor
    Join Date
    11-18-2009
    Location
    Winnipeg
    MS-Off Ver
    Excel 2003
    Posts
    203

    Calculating vacation entitlement

    I use Excel 2003 and our vacation entitlement is based on a number of factors. I am trying to create a formula that will pull out an employee's vacation entitlement based on their vacation code and years of service, but there are too many nested if's. Attached is the vacation matrix to show what the entitlement is as well as a sample of the report.

    The figures in yellow are the figures I want the report to pull under the "Entitlement" column E. Column F shows what the entitlement should be based on the rules.

    Thanks in advance!


    ETA: I figured out an Index/Match that will work but the only way I know how to make it work is by using a huge chart listing the years of service from 0-40)...is there a better way to use ranges?
    Attached Files Attached Files
    Last edited by kmlloyd; 06-23-2010 at 03:00 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Calculating vacation entitlement

    Change the values in C2 to F2 to the lower boundaries of each range... ie. 0, 5, 10, 20 and then use formula:

    =INDEX($C$3:$F$12,MATCH(D16,$B$3:$B$12,0),MATCH(C16,$C$2:$F$2))

    copied down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    11-18-2009
    Location
    Winnipeg
    MS-Off Ver
    Excel 2003
    Posts
    203

    Re: Calculating vacation entitlement

    Awesome Thank You!!

+ 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