+ Reply to Thread
Results 1 to 3 of 3

Calculating Monthly Comp of New Employees based on Start Date (prorating first month)

  1. #1
    Registered User
    Join Date
    12-06-2018
    Location
    Washington, D.C.
    MS-Off Ver
    2016
    Posts
    1

    Calculating Monthly Comp of New Employees based on Start Date (prorating first month)

    Hi all - trying to calculate monthly comp for the year of new employees by prorating the first month based on date of hire. I want to be able to change the date of hire and have the formula calculate the appropriate comp for that month. Right now I have:

    D36 = start date
    E36 = end of starting month date
    X4 = previous month in formula end date
    Y4 = current month in formula end date
    H26 = salary

    =IF($D36>X$4,0,IF((AND($D36<Y$4,$D36<$E36)),(((EOMONTH($D36,0)-$D36)/DAY(EOMONTH($D36,0))*$H36)/12),$H36/12

    The problem I'm running into is that the if/and formula is always triggering the equation to take the fractional days. I need to figure a way to make it only do that for the first months, all subsequent months should be just comp divided by 12.

    Thoughts?

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Calculating Monthly Comp of New Employees based on Start Date (prorating first month)

    Hi and welcome.

    I think you'll get a solution on this quicker if you can attach a sample workbook (not a picture of one) and show a handful of expected results.

    BSB

  3. #3
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Calculating Monthly Comp of New Employees based on Start Date (prorating first month)

    pro-rating all months should be fine, if you use dates correctly -- based on your outlined ranges:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    the above, copied to the right, should generate the periodic values requested.

+ 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. Replies: 1
    Last Post: 11-22-2017, 05:27 AM
  2. Replies: 1
    Last Post: 01-11-2016, 05:34 PM
  3. [SOLVED] Need formula for prorating monthly salary based on hire/fire date and annual salary.
    By Excel_Help_Pls in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-06-2015, 12:56 AM
  4. Max/Min employees based on start/term date
    By need.help. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-09-2013, 11:32 AM
  5. Replies: 2
    Last Post: 03-22-2013, 02:20 PM
  6. [SOLVED] Monthly Average Based off a start and end date?
    By ImpetuousRacer in forum Excel General
    Replies: 9
    Last Post: 06-13-2012, 09:13 PM
  7. Replies: 0
    Last Post: 08-28-2005, 11:12 AM

Tags for this Thread

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