Exercises
/
Tests
/

Logical functions test

Logical functions test

IF, IFS, AND, OR, IFERROR, COUNTIFS and SUMIFS: condition order, boundary values and traps that silently give wrong results.

  1. B2 = 71. What does =IF(B2>=86,"Excellent",IF(B2>=71,"Good","Fair")) return?
  2. A2 = 95. What does =IFS(A2>=50,"C",A2>=70,"B",A2>=90,"A") return?
  3. A2 = 80, and B2 holds “yes” (lower case). What does =OR(A2>100,B2="Yes") return?
  4. When VLOOKUP finds nothing it should show “Not found”, but other errors (#REF!, #NAME?) must stay visible. Which formula is right?
  5. Look at the sheet. What does =COUNTIFS(B2:B6,"Tashkent",C2:C6,">300") return?
  6. Look at the sheet. Which formula correctly totals the Tashkent sales?
  7. E1 holds a threshold amount. Which formula correctly counts the amounts in C2:C6 greater than E1?
  8. A2 holds the number 40 stored as text. What does =IF(A2>50,"Yes","No") return?
  9. Look at the sheet. What does =COUNTIF(A2:A6,"<>Tashkent") return?
  10. Look at the sheet. Which formula correctly counts the Tashkent OR Samarkand rows?