+ Reply to Thread
Results 1 to 6 of 6

Alternative for using more nested "'IF"functions

  1. #1
    Registered User
    Join Date
    04-16-2013
    Location
    Kampala, Uganda
    MS-Off Ver
    Excel 2007
    Posts
    3

    Alternative for using more nested "'IF"functions

    I have a matrix measuring the likelihood of a risk occurring and the likely impact. The Ranking are "Low", "Medium" and "High". I can't find figure out the formula that can comprehensively capture it in excel so that when I input the rankings of the two variable, the final ranking will be generated automatically. I have tried to use the IF(AND..... function but it can't capture the whole matrix. I have attached the template i am designing

    I Will appreciate your help
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,720

    Re: Alternative for using more nested "'IF"functions

    Hello Henryoung, try this formula

    =INDEX($B$12:$D$14,MATCH(I6,$A$12:$A$14,0),MATCH(J6,$B$11:$D$11,0))

    You have a "trailing space" in B11, you should remove that otherwise the formula won't work
    Audere est facere

  3. #3
    Registered User
    Join Date
    04-16-2013
    Location
    Kampala, Uganda
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Alternative for using more nested "'IF"functions

    Thank you so much. That works well, however I am wondering whether there is a function that can return the same results without referencing to the matrix itself. Just like how the IF function can be used.

    Will appreciate the feedback from you guys.
    Last edited by Henryoung; 04-18-2013 at 04:43 PM.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,720

    Re: Alternative for using more nested "'IF"functions

    OK, you can use INDEX/MATCH like this

    =INDEX({"Medium","High","High";"Low","Medium","High";"Low","Low","Medium"},MATCH(I6,{"High";"Medium";"Low"},0),MATCH(J6,{"Low","Medium","High"},0))

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Alternative for using more nested "'IF"functions

    Instead of a whole matrix, you can just have 3 cells with Low Medium and High

    B17:B19 for example.

    =LOOKUP(MATCH(I6,B17:B19,0)+MATCH(J6,B17:B19,0),{1,4,5},B17:B19)

  6. #6
    Registered User
    Join Date
    04-16-2013
    Location
    Kampala, Uganda
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Alternative for using more nested "'IF"functions

    Quote Originally Posted by daddylonglegs View Post
    OK, you can use INDEX/MATCH like this

    =INDEX({"Medium","High","High";"Low","Medium","High";"Low","Low","Medium"},MATCH(I6,{"High";"Medium";"Low"},0),MATCH(J6,{"Low","Medium","High"},0))

    Thanks. Its has worked perfectly. No qualms.

    Problem solved

+ 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