+ Reply to Thread
Results 1 to 5 of 5

Need help with IF and THEN formulas

  1. #1
    Registered User
    Join Date
    02-25-2021
    Location
    New York
    MS-Off Ver
    Microsoft Excel for MAC
    Posts
    3

    Need help with IF and THEN formulas

    Hi all,

    I am working on compa-ratios but I wanted it based on the number of years that an employee is in their current position.

    Instead of looking at their years and manually entering the corresponding percentage, I wanted to set up an excel formula that says, IF column J <1, then 85%, IF column J is 1-2, then 88%, IF column J is 2-3, then 91%, etc.

    Time in position:
    Column J- years
    Columns k - the percentage should auto-populate based on J

    0-1 year – 85%
    1-2 years - 88%
    2-3 years - 91%
    3-4 years - 94%
    4-5 years - 97%
    5 years - 100%
    6-7 years - 102%
    7-8 years - 104%
    8-9 years - 106%
    10+ years - 108%

    Thanks in advance!

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent SAC
    Posts
    8,885

    Re: Need help with IF and THEN formulas

    Which band does 1 fall into: 0-1 or 1-2?
    Rory

  3. #3
    Registered User
    Join Date
    02-25-2021
    Location
    New York
    MS-Off Ver
    Microsoft Excel for MAC
    Posts
    3

    Re: Need help with IF and THEN formulas

    It should be less than 1.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need help with IF and THEN formulas

    See attached.

    I assume that last band should have been 9+ years, not 10+ to be consistent, assuming that when you tell us that "it should be less than 1' in answer to Rory's question you mean the first band is 0 to LESS than 1.
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Registered User
    Join Date
    02-25-2021
    Location
    New York
    MS-Off Ver
    Microsoft Excel for MAC
    Posts
    3

    Re: Need help with IF and THEN formulas

    Thank you so much Richard! This was extremely helpful!

+ 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. Copy Formulas from 'Formulas' Sheet into Data Table Columns
    By Jonny757 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-10-2020, 08:18 PM
  2. Make model faster: convert formulas to text and then back to formulas
    By lucassdm7 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-25-2019, 06:49 AM
  3. Replies: 9
    Last Post: 12-04-2015, 05:19 PM
  4. Using Cell references in file paths for formulas to create dynamic formulas
    By MichaelStokesJr in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-04-2013, 11:49 AM
  5. Replies: 5
    Last Post: 09-25-2013, 02:51 PM
  6. [SOLVED] VBA to enter various formulas every 10 rows and show dynamic formulas not values
    By faby2203 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-04-2013, 07:05 AM
  7. Replies: 5
    Last Post: 05-05-2008, 02:22 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