Management & CommerceVery hardBusiness analyst · Excel test
What does =MOD(-7, 3) return in Excel?
- A. Minus 1
- B. 1
- C. Minus 2
- D. 2
Correct answer: D. 2
Excel's MOD returns a result with the same sign as the divisor: MOD(n, d) = n − d × INT(n/d) = −7 − 3 × INT(−2.33) = −7 − 3 × (−3) = 2. Languages that truncate towards zero would give −1.
Practise more Operations, Supply Chain & Business Analytics questionsOperations, Supply Chain & Business Analytics: notes and key points
More Operations, Supply Chain & Business Analytics questions
- What does =ROUND(-2.5, 0) + ROUND(2.45, 1) return in Excel?
- A1 contains the text 'Delhi-North-Zone7'. What does =MID(A1, FIND("-", A1) + 1, FIND("-", A1, FIND("-", A1) + 1) - FIND("-", A1) - 1)…
- 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"…