+ Reply to Thread
Results 1 to 5 of 5

IF formula with 3 conditions and 3 answers

  1. #1
    Registered User
    Join Date
    04-16-2012
    Location
    Bracknell, Berkshire
    MS-Off Ver
    Excel 2007
    Posts
    5

    IF formula with 3 conditions and 3 answers

    Hi,

    I am trying to create a formula which takes a percentage in a cell, checks this in a percentage range (0-89, 90-94, 95-100) and depending on which range it is there is a different calculation applied (0-89% = 10%*£100, 90-94% = 5%*£100, 95-100% = 1%*£100)

    Please can someone advise the best way forward.

    Thanks
    GM
    Last edited by GingerMike; 07-18-2014 at 09:20 AM.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: IF formula with 3 conditions and 3 answers

    Try

    =LOOKUP(A1,{0,0.9,0.95},{"None",5,10})
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: IF formula with 3 conditions and 3 answers

    Something like this...

    A1 = some %

    =IF(A1="","",IF(A1>=0.95,"None",IF(A1>=0.9,0.05,0.1)))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    04-16-2012
    Location
    Bracknell, Berkshire
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: IF formula with 3 conditions and 3 answers

    Thanks Tony,

    This looks like a good basis, if I wanted to use the specifics of the calculation in the formula how would that change it?

    For example if the percentage is 90% it returns the answer to 5% of £100, instead can I use the cell references in the formula for example 5% is in cell B1 and £100 is in Cell B2 and so on....

    THANK YOU!!

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: IF formula with 3 conditions and 3 answers

    If I understand, like this....

    =IF(B1="","",IF(B1>=0.95,"None",B2*IF(B1>=0.9,0.05,0.1)))

+ 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. [SOLVED] Count the number of matches in a row of one word answers with a row of correct answers
    By flammer4 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-03-2012, 01:17 PM
  2. Replies: 1
    Last Post: 08-14-2010, 10:33 PM
  3. Trying to get a formula that gives 3 possible answers.
    By hammerhead13 in forum Excel General
    Replies: 3
    Last Post: 06-27-2008, 12:07 PM
  4. [SOLVED] using formula with several possible answers
    By jog398 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-18-2006, 09:45 PM
  5. formula gives 2 different answers
    By klee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-10-2006, 08:58 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