+ Reply to Thread
Results 1 to 5 of 5

Need Help With "If" Formula When Multiple Conditions

Hybrid View

  1. #1
    Registered User
    Join Date
    03-15-2016
    Location
    Charlotte, NC
    MS-Off Ver
    Office 2010
    Posts
    4

    Need Help With "If" Formula When Multiple Conditions

    Hello all. I need help with structuring the following formula. I am praying it's possible. It goes like this

    For any given cell, if a value is less than 15, I need to multiple by .75. If the value is greater than 15 and less than 60, I need to multiply by .80. If the value is greater than 60, I need to multiple by .85.

    So essentially I need the formula to check the cell value against 3 "Ifs" and provide the appropriate answer based on which group it falls into.

    Is this possible? Thanks!

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,810

    Re: Need Help With "If" Formula When Multiple Conditions

    TRY

    =IF(B2<15,C2*0.75,IF(B2<60,C2*0.8,C2*0.85))

    C2 is value to be multiplied

    B2 is value being tested

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Need Help With "If" Formula When Multiple Conditions

    Try this: =IF(A2>60,0.85,IF(A2>15,0.8,0.75))*A2

    The if statement determines the multiplier. If statements stop as soon as they hit the first true condition. So we don't have to check if the value is between 15 and 60. If it's over 60 use .85 and stop. Otherwise check to see if it's over 15 and use .80 and stop when all else fails (in other words 15 or less) use .75.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Need Help With "If" Formula When Multiple Conditions

    Or this

    Formula: copy to clipboard
    =A1*LOOKUP(A1,{0,15,60},{0.75,0.8,0.85})


    v A B
    1 80 68
    2 15 12
    3 14 10.5
    4 12 9
    5 61 51.85
    6 60 51
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Registered User
    Join Date
    03-15-2016
    Location
    Charlotte, NC
    MS-Off Ver
    Office 2010
    Posts
    4

    Re: Need Help With "If" Formula When Multiple Conditions

    Wow, and to think there were multiple solutions. AlKey, yours seems to be the simplest.

+ 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. How to use "if" formula for multiple conditions
    By harryhu in forum Excel General
    Replies: 6
    Last Post: 06-29-2016, 04:19 PM
  2. Replies: 1
    Last Post: 03-09-2016, 12:17 PM
  3. [SOLVED] How To Use "if" Formula For Multiple Conditions - Excel
    By VishwaRAFA in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-08-2016, 08:38 AM
  4. [SOLVED] Multiple "IF" formula with "OR" conditions (or a better way?)
    By Cortlyn in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-05-2014, 06:36 PM
  5. Average with multiple "or" and "and" conditions
    By lesoies in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2013, 02:41 AM
  6. Defining logic "Yes" or "No" , based on multiple conditions
    By pyol17 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-08-2012, 02:41 AM
  7. Replies: 7
    Last Post: 05-13-2006, 05:02 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