=IF(A1>10, "High", "Low") and cell A1 contains 8, what will be the result?=IF(A1>10, "High", "Low")
The IF function checks if the condition A1>10 is true. Since 8 is not greater than 10, the condition is false, so the formula returns the value for false, which is "Low".
The AND function returns TRUE only if all conditions inside it are true. Here, it checks if A1 is greater than 5 and B1 is less than 10.
=IF(AND(A1>5, B1<10), "Yes", "No")=IF(AND(A1>5, B1<10), "Yes", "No")
The AND function checks if both A1>5 and B1<10 are true. A1=7 is greater than 5 (true), but B1=12 is not less than 10 (false). Since both are not true, AND returns FALSE, so IF returns "No".
- Above 90: "A"
- 80 to 90: "B"
- 70 to 79: "C"
- Below 70: "F"
Which formula correctly assigns the grade?
Option A correctly uses >90 for "A", then >=80 for "B", >=70 for "C", and else "F". This covers all ranges without overlap or gaps.
=IF(AND(A1>5, B1), "Yes", "No")Assume B1 contains text "Hello".
=IF(AND(A1>5, B1), "Yes", "No")
The AND function expects logical TRUE or FALSE values. Since B1 contains text "Hello", it causes a #VALUE! error because text is not a valid logical value.