nested if and function excel

nested if and function excel