+ Reply to Thread
Results 1 to 4 of 4

formula that can test multiple conditions

  1. #1
    Registered User
    Join Date
    04-06-2009
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    7

    Exclamation formula that can test multiple conditions

    Hi all

    I am trying to use if formula to satisfy 5 conditions:

    if a cell is 96% and over then return 5 to the next cell, ie, if E7 is 98% then F7 should be 5 so on so forth.
    The rest of the scale looks like this:
    88% 4
    82% 3
    76% 2
    75% and below 1

    Any clue on how to satisfy these 5 conditions in 1 formula?

    Much appreciated!

    Harry

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Need a formula that can test multiple conditions

    Hello Harry,

    Try:

    =LOOKUP(E7,{0,0.76,0.82,0.88,0.96},{1,2,3,4,5})

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Need a formula that can test multiple conditions

    Given return is 1 to 5

    =MATCH(E7,{0,0.76,0.82,0.88,0.96})

    LOOKUP is far more flexible though should you want to alter the result values...

  4. #4
    Forum Contributor mubashir aziz's Avatar
    Join Date
    03-18-2009
    Location
    Lahore, Pakistan
    MS-Off Ver
    MS Office 2013
    Posts
    533

    Re: Need a formula that can test multiple conditions

    Pj : I'm newly joined member here but i must say some formula's really amazing ...especially most of the time i used Vlookup to import data from other sheet but now i'm interested to learn about lookup

    DonkeyOte : Your excel knowledge is simply terrific .... Your formulas always open new horizon .... keep it up .....

+ 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