+ Reply to Thread
Results 1 to 3 of 3

Holiday Entitlements

  1. #1
    Registered User
    Join Date
    09-16-2011
    Location
    Lancaster, UK
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    41

    Holiday Entitlements

    Hi

    I have a spreadsheet which works out how much holiday our staff are entitled to based on 28 days for someone working for us for 12 months, 5 days a week.

    I worked out how to change the entitlement if they have worked less than 12 months, and if they work more or less than 5 days a week:

    =((($B$1/12)*Q7)/5)*R7

    where B1 is this years holiday (based on 12months service, 5 days per week), Q7 is months of service, and R7 is the number of days worked per week

    But I have now been told that we cap the holidays at 28 days (so they don't get more days per year if they work a 6 day week).

    I tried to make it so that if they worked 5+ days a week to show 28 days, other wise work out the days allowed, and my formula is wrong.

    =IF(R7>=5, "28", ((($B$1/12)*Q7)/5)*R7)

    What should I be putting?
    Last edited by charliebeth; 12-12-2011 at 10:32 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Holiday Entitlements

    Hi

    The best way to describe your problem, is to attach a sample workbook

    The only reason that (As i can see) that this formula does not works is this:

    =IF(R7>=5, "28", ((($B$1/12)*Q7)/5)*R7)

    Use the formula, like that.

    =IF(R7>=5, 28, ((($B$1/12)*Q7)/5)*R7)


    Hope to helps you
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    09-16-2011
    Location
    Lancaster, UK
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    41

    Re: Holiday Entitlements

    Thanks.Solvedit with a MIN in the end, apprciaite the reply though.

+ 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