You have a table with product names in column A and their prices in column B. Which formula correctly returns the price of the product named "Apple"?
A1:A5 = {"Banana", "Apple", "Orange", "Grape", "Mango"}
B1:B5 = {1.2, 2.5, 1.8, 3.0, 2.0}Use MATCH to find the row number of "Apple" in the product list, then INDEX to get the price from the price list.
Option D correctly uses MATCH to find the position of "Apple" in A1:A5, then INDEX returns the price from B1:B5 at that position. Other options either mismatch ranges or use MATCH incorrectly.
Given a list of employees in column A and their departments in column B, which formula returns the department of "John"?
A1:A4 = {"Anna", "John", "Mike", "Sara"}
B1:B4 = {"HR", "Finance", "IT", "Marketing"}Find the row of "John" in the employee list, then get the department from the department list.
Option A correctly finds "John" in A1:A4 and returns the corresponding department from B1:B4. Other options misuse MATCH or INDEX ranges.
Which option contains a syntax error in the formula to find the price of "Orange"?
A1:A5 = {"Banana", "Apple", "Orange", "Grape", "Mango"}
B1:B5 = {1.2, 2.5, 1.8, 3.0, 2.0}Check for missing commas or parentheses in the formula.
Option B is missing a comma between B1:B5 and MATCH function, causing a syntax error. Other options have correct syntax.
You want to find the department of "Sara" without using volatile functions. Which formula is the best choice?
A1:A4 = {"Anna", "John", "Mike", "Sara"}
B1:B4 = {"HR", "Finance", "IT", "Marketing"}Consider which functions are volatile and which are not.
Option A uses INDEX and MATCH which are non-volatile and efficient. VLOOKUP and FILTER are volatile or less efficient. MATCH without 0 is approximate match.
Given the data below, what will the formula =INDEX(B1:B6, MATCH("Apple", A1:A6, 0)) return?
Data:
A1:A6 = {"Banana", "Apple", "Orange", "Apple", "Grape", "Apple"}
B1:B6 = {1, 2, 3, 4, 5, 6}
MATCH returns the position of the first exact match it finds.
MATCH("Apple", A1:A6, 0) returns 2, the position of the first "Apple". INDEX then returns B2 which is 2. It does not return later matches.