Management & CommerceHardBusiness analyst · Excel test
A1 contains ' Ravi Kumar ' (with extra spaces at the start, in the middle and at the end). What does =LEN(TRIM(A1)) return?
- A. 14
- B. 11
- C. 9
- D. 10
Correct answer: D. 10
TRIM removes leading and trailing spaces and reduces runs of internal spaces to one, giving 'Ravi Kumar', which has 10 characters (4 + 1 + 5). Excel's TRIM, unlike some tools, does collapse internal spaces.
Practise more Operations, Supply Chain & Business Analytics questionsOperations, Supply Chain & Business Analytics: notes and key points
More Operations, Supply Chain & Business Analytics questions
- A2:A6 hold 'North', 'South', 'North', 'East', 'South'. What does =SUMPRODUCT(1/COUNTIF(A2:A6, A2:A6)) return?
- Which range does =SUM(OFFSET(A1, 2, 1, 3, 1)) add up?
- Table emp has ids 1–6. Table blocked(id) has two rows: 2 and NULL. What do these return? P: SELECT COUNT() FROM emp WHERE id NOT IN…
- Table emp(id, name, dept, salary, mgr) has rows (1, Asha, Sales, 90, NULL), (2, Ravi, Sales, 60, 1), (3, Meena, Sales, 75, 1), (4, Kiran…
- Table emp(id, name, dept, salary, mgr) has rows (1, Asha, Sales, 90, NULL), (2, Ravi, Sales, 60, 1), (3, Meena, Sales, 75, 1), (4, Kiran…
- Table emp(id, name, dept, salary, mgr) has rows (1, Asha, Sales, 90, NULL), (2, Ravi, Sales, 60, 1), (3, Meena, Sales, 75, 1), (4, Kiran…