Search code examples
excelif-statementexcel-formulamultiple-columns

Creating excel formula


From table I am attaching My requirement is to Return text "Full" or "Partial" or "None". "Full" if columns A,B and C includes text "Yes", "Partial" If column A,B and C includes 1 or more text "No", and return "None" If column A,B and C includes text "No".

enter image description here

I tried but getting wrong results because of multiple conditions. With one condition i was getting required result but not with many condition.


Solution

  • If I am not mistaken then using LOOKUP( ) Function with COUNTIF( ) with wild card character * should work as well.

    enter image description here


    • Formula used in cell D1

    =LOOKUP(COUNTIF(A1:C1,"*Yes*"),{0,1,3},{"None","Partial","Full"})