Management & CommerceVery hardBusiness analyst · Excel test
A1 contains the text 'Delhi-North-Zone7'. What does =MID(A1, FIND("-", A1) + 1, FIND("-", A1, FIND("-", A1) + 1) - FIND("-", A1) - 1) return?
- A. Nort
- B. North
- C. North-Zone7
- D. Delhi
Correct answer: B. North
The first '-' is at position 6, so the second search starts at 7 and finds the second '-' at 12. MID starts at 7 and takes 12 − 6 − 1 = 5 characters: 'North'. The nested FIND is what locates the second hyphen; without it you would get the rest of the string or the first segment.
Practise more Operations, Supply Chain & Business Analytics questionsOperations, Supply Chain & Business Analytics: notes and key points
More Operations, Supply Chain & Business Analytics questions
- A1 holds 'mumbai' and B1 holds 'MUMBAI'. What do =FIND("M", A1) and =SEARCH("M", A1) return?
- A2:A7 hold product names: 'iPhone 15', 'Galaxy Phone', 'Phone Case', 'Laptop', 'Smartphone stand', 'Earphones'; B2:B7 hold sales 50, 40…
- A1:A6 contain 10, an empty cell, 0, the text 'n/a', 20 and 30. What does =AVERAGE(A1:A6) return?
- A2:A9 hold the regions N, S, N, E, N, S, W, N and B2:B9 hold sales 100, 200, 150, 50, 300, 120, 80, 90. What does =COUNTIFS(A2:A9, "N"…
- A sheet has employee IDs in A2:A100 and departments in C2:C100. In row 1, the headers are A1 'ID', B1 'Name', C1 'Dept'. Which formula…
- An analyst uses =VLOOKUP("P-104", A2:B6, 2, TRUE) on a product list sorted as P-101, P-103, P-105, P-102, P-104 in A2:A6 (not in ascending…