Forum Discussion

Muhammad Khan's avatar
Muhammad Khan
Copper Contributor
Mar 23, 2017
Solved

Formula or if statement for multiple conditions

Hello All   I have a quick question.   I want to categorize my data in three categories like Good Average and Bad, the whole sheet consists of different groups. Below is the example of data, the ...
  • Detlef_Lewin's avatar
    Mar 23, 2017

    Hello Muhammad

     

    Restrcuture your scale tables into one table.

     

    Group - Lower - Category

    A - 0 - Bad

    A - 12 - Good

    A - 16 - Average

    A - 21 - Bad

    etc.

     

    In my example the new table is in columns I:K.

     

    Then this formula in D2:

     

    =LOOKUP(2,1/($I$2:$I$17=B2)/($J$2:$J$17<=C2),$K$2:$K$17)

Resources