+ Reply to Thread
Results 1 to 3 of 3

Create If/Then formula to return a specific % for an age range as of today's date

  1. #1
    Registered User
    Join Date
    12-31-2012
    Location
    Washington, DC
    MS-Off Ver
    Excel 2007
    Posts
    1

    Create If/Then formula to return a specific % for an age range as of today's date

    Hi all I am new to this forum and am in desperate need of assistance.

    I am trying to create a spreadsheet to pay profit shares for my employees. Employees are given a certain percent of contributions according to their age. The percentage contribution is calculated on a bi-weekly basis to coincide with our payroll. The contributions are as follows:

    Age 60 or greater 10%
    55-59 9%
    50-54 8%
    45-49 7%
    40-44 6%
    35-39 5%
    30-34 4%
    20-29 3.33%

    In the spreadsheet I have a datedif cell that calculates the employees’ age in Year Month Days format as of today’s date. I was trying to create an “if” “then” formula that would return the % of contribution associated with the employees’ age as of today’s date but it did not work. I only get 10% back regardless of age (here is my formula: =IF(AH7>=60,".10",IF(AH7<=59,".09",IF(AH7<=54,".08",IF(AH7<=49,".07",IF(AH7<=44,".06",IF(AH7<=39,".05",IF(AH7<=34,".04",IF(AH7<=29,".0333")))))))).

    I know that I can simply do it based on the year of birth but then that would mean an individual who turns 45 in December would receive a higher payout for the entire year when he is not yet eligible for it. How can I write the formula to yield the information that I need.

    Thanks in advance for your assistance.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Create If/Then formula to return a specific % for an age range as of today's date

    Hello & Welcome to the Forum,

    The best way is to create a lookup table and then use a LOOKUP...

    Adjust ranges to fit your situations...

    B2 =LOOKUP(A1,$D$1:$E$8)

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    HTH
    Regards, Jeff

  3. #3
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Create If/Then formula to return a specific % for an age range as of today's date

    Hi, I think you have to add some cutoff parameters (lets say you have to be 52 by July => offset -180 days in order to earn the next level of compensation. Given that all you have to do to correctly calculate the % is to subtract the 180 (let's say) from the cutoff date of the calculation.

    Another way is to proportionally give the % for that turning year (birth month * old % + (12-birth month)* new %

+ 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