Consider the following snapshot of an MS-Excel worksheet: A B C D 17 Day…
2024
Consider the following snapshot of an MS-Excel worksheet:
A | B | C | D | |
|---|---|---|---|---|
17 | Day | Quantity | Sales Amount (₹) | |
18 | Monday | 1 | 234 | |
19 | Tuesday | 3 | 144 | |
20 | Wednesday | 6 | 367 | |
21 | Thursday | 5 | 674 | |
22 | Friday | 8 | 1099 | |
23 | Saturday | 3 | 233 |
In cell D18, the value returned by the function
=SUMIFS(C18:C23, B18:B23, ">3", C18:C23, ">500") is ________ .
Answer: C. 1773 — Concept: SUMIFS(sum_range, criteria_range1, criteria1, criteria_range2, criteria2, ...) adds only those cells of the sum range whose matching cells satisfy…
- A.
1466
- B.
2140
- C.
1773
- D.
26
Attempted by 2 students.
Show answer & explanation
Correct answer: C
Concept: SUMIFS(sum_range, criteria_range1, criteria1, criteria_range2, criteria2, ...) adds only those cells of the sum range whose matching cells satisfy every criteria pair at the same time, so several conditions are combined with a logical AND and never with an OR. Each criteria range must be the same size as the sum range and is compared position by position. A criterion written as text with a comparison operator, such as ">3", is a strict comparison, so a value exactly equal to 3 does not qualify.
Application: in this formula the sum range is C18:C23, the Sales Amount column; the first pair tests the Quantity cells B18:B23 against ">3", and the second pair tests those same Sales Amount cells against ">500". Testing the six data rows one at a time:
Row | Quantity (column B) | Sales Amount (column C) | Quantity greater than 3 | Sales Amount greater than 500 | Added to the total |
|---|---|---|---|---|---|
18 | 1 | 234 | No | No | No |
19 | 3 | 144 | No | No | No |
20 | 6 | 367 | Yes | No | No |
21 | 5 | 674 | Yes | Yes | Yes |
22 | 8 | 1099 | Yes | Yes | Yes |
23 | 3 | 233 | No | No | No |
Both conditions must hold in the same row, so the row carrying quantity 1 with sales 234 fails both tests, and the two rows carrying quantity 3 (sales 144 and 233) fail the quantity test, because 3 is not greater than 3.
The row carrying quantity 6 clears the quantity test, but its sales figure 367 is not greater than 500, so that row is left out of the sum.
Only the row carrying quantity 5 with sales 674 and the row carrying quantity 8 with sales 1099 clear both tests at once.
Adding those two sales amounts gives 674 + 1099 = 1773, so cell D18 displays 1773.
Cross-check: each of the other candidate totals corresponds to a different reading of the sheet, so working them out separately confirms the total above.
Ignoring the sales condition and adding every row whose quantity exceeds 3 gives 367 + 674 + 1099 = 2140.
Adding the sales amounts of only the two rows carrying the largest quantities, 6 and 8, gives 367 + 1099 = 1466.
Adding the Quantity column instead of the Sales Amount column gives 1 + 3 + 6 + 5 + 8 + 3 = 26.
Re-adding only the amounts that pass both tests confirms 674 + 1099 = 1773.