+ Reply to Thread
Results 1 to 5 of 5

Prorated Salary Formula

  1. #1
    Registered User
    Join Date
    09-22-2008
    Location
    markham
    Posts
    52

    Prorated Salary Formula

    I need to develop a formula which will determine an employee's earnings for the fiscal year, November 1 - October 31, based on a prorated salary, in order to determine a bonus amount.

    Example: Joe's salary is $50,000/yr and he started June 7, 2008. He would be entitled to a bonus based on prorated earnings for June to October 31(because he worked more than half of June)

    However, Carol's salary is also $50,000/yr but she started after June 16. She would be entitled to a bonus based on prorated earnings for July to October 31 (because she worked less than half of June).

    What formula would I use? How should the dates appear in the 'Start Date' Column?

    We also have employees who started in previous fiscal years, how do I exclude them from the prorated calculation.

    Thank you for your time.

    Brandy

  2. #2
    Forum Contributor
    Join Date
    08-21-2006
    Location
    Ossett, West Yorkshire
    MS-Off Ver
    2003
    Posts
    150
    Hi Brandy
    I am assuming that you are working on a monthly basis.
    try the following formula:

    =IF(A7<=$A$1,1,IF(DAY(A7)>=16,(MONTH($B$1)-MONTH(A7)-1)/12,(MONTH($B$1)-MONTH(A7))/12))

    this returns 1 if the stating date is before the start of the year 1/11/07 and a decimal ,in the case of 7/6/08 .33333 and in the case of 17/7/08 it returns .25. A1 is the start of year B1 is end of year. Rest of col A is start date.
    I have attached a worksheet so you can see with afew examples.

    Regards Howard
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-22-2008
    Location
    markham
    Posts
    52
    Thanks Howard!

    It works well up to September 15, 2008 after this date it returns a value of O.

    I'd like it to return a value up to October 15, 2008 and 0 after that date.

    Any ideas?

    Brandy

  4. #4
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    There are some math error in Brandy's formula
    You can try to replace his formula with the following one.


    Please Login or Register  to view this content.
    and you'd better change the format of the result to fraction, use this custom format " # ?/12"
    I need your support to add reputations if my solution works.


  5. #5
    Forum Contributor
    Join Date
    08-21-2006
    Location
    Ossett, West Yorkshire
    MS-Off Ver
    2003
    Posts
    150
    Hi Sglife
    It took forever for the penny to drop as to what I was doing wrong. I tried both my formula and yours side by side, but was convinced that my answers were correct eventually the penny dropped and once this happenedit was fairly simple to change my formula to give the same answers as yours.
    Hi Brandy
    I had been aware though that there was going to be a problem with the month of February the way both our formulas were set up so I entered a list of months(1 to 12) with the number of days divided by 2 and then used Vlookup to find the halfway point in the month my ammended fomula is:

    =IF(A2<=$A$1,1,IF(DAY(A2)<=VLOOKUP(MONTH(A2),$L$1:$M$12,2,FALSE),(MONTH($B$1)-MONTH(A2)+1)/12,((MONTH($B$1)-MONTH(A2))/12)))

    Regards Howard
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formula for bond price
    By Dracan in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-15-2014, 11:17 AM
  2. A formula template
    By ajaysehgal in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-07-2013, 06:12 AM
  3. Reset Formula without Editing Formula?
    By Ogey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-27-2007, 08:44 PM
  4. Conditional formula question
    By odditie in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-27-2007, 09:47 PM
  5. use cell content as cell address in formula
    By nnsc in forum Excel General
    Replies: 4
    Last Post: 11-05-2006, 03:12 AM

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