Management & CommerceVery hardBusiness analyst · Excel test
Cell A1 contains a single space character (it looks empty). What does =IF(A1="", "Blank", A1*2) return?
- A. Blank
- B. 0
- C. #VALUE!
- D. FALSE
Correct answer: C. #VALUE!
A space is not an empty string, so A1 = "" is FALSE and Excel evaluates A1*2. Multiplying text by a number gives #VALUE!. Using TRIM(A1)="" or LEN(TRIM(A1))=0 is the robust test.
Practise more Operations, Supply Chain & Business Analytics questionsOperations, Supply Chain & Business Analytics: notes and key points
More Operations, Supply Chain & Business Analytics questions
- A1 contains the text '5' (a number stored as text) and A2 contains 3. What do =SUM(A1:A2) and =SUM("5", 3) return?
- Table v(cust, city, amt) has rows (A, Pune, 100), (B, NULL, 200), (C, Pune, 50), (D, Goa, NULL), (E, NULL, 80). What does SELECT…
- Using the same table v, what does CASE WHEN amt >= 100 THEN 'High' WHEN amt >= 50 THEN 'Mid' ELSE 'Low' END return for customers C and D?
- Using table v, how many rows do these return? P: SELECT FROM v WHERE amt > 60; Q: SELECT city, SUM(amt) FROM v GROUP BY city HAVING…
- Table m(store, mon, rev) has S1: month 1 = 100, month 2 = 120, month 3 = 90; S2: month 1 = 200, month 2 = 180. What does rev − LAG(rev)…
- Using table v (where Goa's only row has amt NULL), what do SELECT SUM(amt) FROM v WHERE city = 'Goa' and SELECT COALESCE(SUM(amt), 0) FROM…