Google Sheets Fundamentals Course: IF, COUNTIF and lookups
Quiz tematyczny bez limitu czasu: 17 pytań o IF, COUNTIF and lookups, z wyjaśnieniem po każdej odpowiedzi. Pytania i odpowiedzi są za każdym razem mieszane.
Quiz tematyczny 4: IF, COUNTIF and lookups
-
Pytanie 1 z 17
Pokaż odpowiedź
Odpowiedź: D. IF(logical_expression, value_if_true, value_if_false)
The test comes first, then the value if TRUE, then the value if FALSE. Google says putting the two values in the wrong order is the most common IF mistake.
-
Pytanie 2 z 17
Pokaż odpowiedź
Odpowiedź: B. Reorder
C3 is 18 and D3 is 20. 18 is not greater than or equal to 20, so the test is FALSE and IF returns "Reorder".
-
Pytanie 3 z 17
Pokaż odpowiedź
Odpowiedź: C. Part
The first test (6 >= 8) is FALSE, so Sheets uses the inner IF. Its test (6 >= 4) is TRUE, so the result is "Part".
-
Pytanie 4 z 17
Pokaż odpowiedź
Odpowiedź: A. 5
COUNTIF counts the cells equal to "A": Arjun 1, Bea 1, Chloe 2, Elif 1, for a total of 5.
-
Pytanie 5 z 17
Pokaż odpowiedź
Odpowiedź: B. 5
COUNTIF is not case sensitive, so the small p matches "P" too. All five of Dev's days are counted.
-
Pytanie 6 z 17
Pokaż odpowiedź
Odpowiedź: A. 3
The quantities greater than 20 are 120, 64 and 30. 18 is not greater than 20, so the count is 3.
-
Pytanie 7 z 17
Pokaż odpowiedź
Odpowiedź: C. 2
The * wildcard matches any characters, and COUNTIF is not case sensitive. "Packing tape" and "Tape guns" both contain "tape".
-
Pytanie 8 z 17
Pokaż odpowiedź
Odpowiedź: B. 168
SUMIF adds the Qty cells in rows where the Category is PPE: 120 + 18 + 30 = 168.
-
Pytanie 9 z 17
Pokaż odpowiedź
Odpowiedź: C. =IFERROR(B2/C2,0)
IFERROR returns the first value if it is not an error. If it is an error, it returns the second value, here 0.
-
Pytanie 10 z 17
Pokaż odpowiedź
Odpowiedź: A. 59.00
VLOOKUP finds H310 in the first column and returns the value from column 3 of the range, which is the Price: 59.00.
-
Pytanie 11 z 17
Pokaż odpowiedź
Odpowiedź: B. 40
The index counts from 1 at the first column of the range, so column 4 is Stock. The Stock for M220 is 40.
-
Pytanie 12 z 17
Pokaż odpowiedź
Odpowiedź: A. Approximate match (is_sorted is TRUE)
TRUE (approximate match) is the default. Google recommends FALSE for an exact match.
-
Pytanie 13 z 17
Pokaż odpowiedź
Odpowiedź: C. #N/A
The search key must be in the first column of the range. "Mouse" is in column B, not column A, so no exact match is found and VLOOKUP returns #N/A.
-
Pytanie 14 z 17
Pokaż odpowiedź
Odpowiedź: B. The cell has an extra space, such as "Mouse "
Leading and trailing spaces matter: "Mouse" and "Mouse " are different values. Trim the spaces before using VLOOKUP.
-
Pytanie 15 z 17
Pokaż odpowiedź
Odpowiedź: B. W520
XLOOKUP finds Webcam in B2:B6 and returns the value in the same position of A2:A6. Unlike VLOOKUP, the result can be to the left of the search column.
-
Pytanie 16 z 17
Pokaż odpowiedź
Odpowiedź: C. Not found
Z999 is not in A2:A6, so XLOOKUP returns the missing_value given in the fourth argument: "Not found".
-
Pytanie 17 z 17
Pokaż odpowiedź
Odpowiedź: C. Exact match (match_mode 0)
match_mode is optional and its default is 0, which means exact match.
Klawiatura: 1–4, aby odpowiedzieć, Enter – następne pytanie.