+ Reply to Thread
Results 1 to 7 of 7

How to Calculate % based on number of Months is less than 12

Hybrid View

  1. #1
    Registered User
    Join Date
    12-11-2019
    Location
    USA
    MS-Off Ver
    2016
    Posts
    12

    How to Calculate % based on number of Months is less than 12

    I need help with a formula, I hope I can explain what I need correctly. I am sure it is an easy formula but I cannot figure it out.

    If an employee has worked with the company less than a year (04/01/2020-04/1/2021) then they will not get a full raise. How we calculate the raises is based off of an average score of 3 check in's. if they score 100% average then they get the base 4.5% raise if they average over the 100% they will get more than the 4.5% I have that formula figured out, what I need help with is the formula to see if they worked less than the year, the prorated % based off their score. I have included a sample of the workbook. I am not sure if I am over thinking this or what. Please help!
    Attached Files Attached Files
    Last edited by Stephy2741; 02-05-2021 at 12:33 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,402

    Re: How to Calculate % based on number of Months is less than 12

    Stephy,

    First problem is Col A is text not numbers so you need to change it.

    https://support.microsoft.com/en-us/...4-32a67ec0a680

    Secondly, you need SIX permutations in Col H:

    Full rate if employed over a year:

    Col B >(Col A + 1 year), Col G >100%: Col G% * whatever % you set
    Col B >(Col A + 1 year), Col G =100%: Col G% * 4.5%
    Col B >(Col A + 1 year), Col G < 100%: (If they even get a bonus), Col G% *whatever % you set

    Pro rata if year or less (value% x ((Actual difference between A and B)/(Difference it would have been in full year))

    Col B <(Col A + 1 year), Col G >100%: Col G value *whatever % * ((Col B-Col A)/(Col B-EDATE(Col B-12)))
    Col B <(Col A + 1 year), Col G = 100%: Col G value * (4.5% * ((Col B-Col A)/(Col B-EDATE(Col B-12)))
    Col B <(Col A + 1 year), Col G < 100%: (If they even get a bonus) Col G value *whatever % *((Col B-Col A)/(Col B-EDATE(Col B-12)))

    The "=A*>EDATE(B*-12)" means you can also lose Col C.

    You can also change the formula in Col G to =AVERAGE(D*:F*)

    Ochimus
    Last edited by Ochimus; 02-05-2021 at 07:55 PM.

  3. #3
    Registered User
    Join Date
    12-11-2019
    Location
    USA
    MS-Off Ver
    2016
    Posts
    12

    Re: How to Calculate % based on number of Months is less than 12

    Thank you for answering, I am not sure I fully understand. Is there a way you can break that down a little?

    My formula for averages is correct, however I removed 3 columns of employee names for privacy and never fixed the formula.

  4. #4
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,402

    Re: How to Calculate % based on number of Months is less than 12

    azTEPHY,

    Hopefully this will clarify it. YOur formula has to cover six different situations:

    1. Employee has worked for the company for more than a year AND averaged more than 100%:
    Col B >(Col A + 1 year), Col G >100%: What bonus?
    If the date in Col B is more than one year AFTER their Start Date in Col A, AND their average in Col G is MORE than 100% the employee will get a "Higher" bonus.
    But there is nothing about this in the formula. How will that bonus be worked out? Will it be a 'flat' Rate (e.g. 6%)? Or a "scale", linked to their average Score, so someone averaging 125% will get 4.5% x 1.25 (5.625%) whilst someone averaging 110% will get 4.5 x 1.1 (4.95%). Or something different again?

    2. Employee has worked for the company for more than a year AND averages 100%:
    Col B >(Col A + 1 year), Col G =100%: Formula says 4.5% bonus
    Formula says if the date in Col B is more than one year AFTER their Start Date in Col A, AND their average in Col G is 100%, AND their average in Col G is MORE than 100% the employee will get a 4.5% bonus.

    3. Employee has worked for the company for more than a year BUT does not average 100%:
    Col B >(Col A + 1 year), Col G < 100%. What bonus?
    If the date in Col B is more than one year AFTER their Start Date in Col A, BUT they do not average 100% in Col G, do they get any bonus?
    And if they do, how will it be calculated? Will it be a 'flat' Rate (e.g. 3%)? Or a "scale" linked to their average Score, so someone averaging 75% will get 4.5% x 0.75 (3.375%) whilst someone averaging 50% will get 4.5 x 0,5 (2%). Or something different again?


    4. Employees has not been with the company for more than a year BUT gets more than 100% average:
    Col B <(Col A + 1 year), Col G >100%: What bonus %?
    All you say is if an employee has not been employed for a whole year (Date in Col B is LESS than a year after the date in Col A), they will not get the ‘full’ raise. No mention of the average score.
    Will the bonus be linked to the "higher" level awarded to those with more than one years' service (e.g. 6%) which is reduced in some way to reflect the shorter employment period?
    Or will it link to both their average Score AND the percentage of the year they have been employed?
    (E.g. you worked for six months and averaged 125%, so you get 4.5% x 1.25 x 0.5 (2.812%) whilst I averaged 110% so I get 4.5 x 1.1 x 0.5 (2.475%). Or something different again?

    5. Employees not with the company for more than a year but achieving the 100% average:
    Col B ,(Col A + 1 year), Col G =100%: What bonus?
    All you say is if an employee has not been employed for a whole year (Date in Col B is LESS than a year after the date in Col A), they will not get the ‘full’ raise.
    What will that ‘reduced’ level be? Or how it will be worked out? Will it be 4.5% divided by the percentage of the year they have been employed? Or something different again?

    5. Employees not with the company for more than a year AND missing the 100% average:
    Col B <(Col A + 1 year), Col G < 100%: What bonus?
    Will someone employed for less than a year and a day still get a bonus if they do NOT average 100%? And if so, how will it be calculated? Will it be a 'flat' Rate (e.g. 3%)? Or a "scale", linked to their average Score, so someone employed for six months averaging 75% will get 4.5% x 0.75 x 0.5 (1.688%) whilst someone averaging 50% will get 4.5 x 0,5 x 0,5 (1.125%). Or something different again?

    Ochimus

  5. #5
    Registered User
    Join Date
    12-11-2019
    Location
    USA
    MS-Off Ver
    2016
    Posts
    12

    Re: How to Calculate % based on number of Months is less than 12

    Ok, I am still lost, will something like this work?

    =(DATEDIF(D2,E2,"ym"))<"y"/12*L2

    I attached a new work book so you can see what is going on.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,402

    Re: How to Calculate % based on number of Months is less than 12

    Stephy,

    The formula you suggests will not cover the six different conditions you need.

    I am sorry you could not follow the description I gave you last week, but hopefully you will be able to follow the problem through the attached.

    It shows in detail three employees who have worked for more than one year, and either exceeded, met or did not meet the 100% average, and three employees who have worked for LESS than a year, who either exceeded, met or did not meet the 100% average.

    It will help you decide in each case (a) whether a bonus should be paid at all to someone (e.g. Employee no. 6 has not been employed for the full year AND did not achieve 100% average) OR how you will determine what bonus % they should receive (e.g. Employee 4 has not worked with the company for the full year BUT averaged MORE than 100%).

    Once you decide, you can construct the single formula that will take all six "scenarios" into account automatically.

    Ochimus
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,729

    Re: How to Calculate % based on number of Months is less than 12

    I notice two things that are causing Excel to display #VALUE! in cell F2:
    1. Some of the values in column D are text and not dates.
    2. Excel can't recognize "y" in the formula segment "y"/12*L2.
    We might better understand how to help if we knew the percentages that the formula is expected to yield in column F and unless it is blatantly obvious, some explanation as to how the percentage is manually calculated.
    Let us know if you have any questions.

    EDIT: This is a reply to post #5. I had not seen that other contributors were working on the problem at that same time.
    Last edited by JeteMc; 02-16-2021 at 01:55 PM. Reason: Added edit
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Display number of months based on cell value
    By joshie78 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-10-2020, 11:42 AM
  2. [SOLVED] Sum row values based on a start month, and number of months
    By Scott Emmanuel in forum Excel General
    Replies: 1
    Last Post: 01-04-2018, 04:02 PM
  3. [SOLVED] calculating months based on specified number of days
    By amartin575 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-25-2016, 10:47 AM
  4. Months in a year based on number of days
    By managingcrap in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-23-2014, 10:58 AM
  5. Replies: 1
    Last Post: 10-23-2014, 08:10 AM
  6. Extracting number of months from date range based on specific criterea
    By trianglehead in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-24-2013, 07:27 PM
  7. [SOLVED] Code for auto filling in Excel based on number of months, & start date
    By Diane Sulton in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2006, 09:20 PM

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