In the context of MS-EXCEL spreadsheet software, consider a case where there…
2023
In the context of MS-EXCEL spreadsheet software, consider a case where there are 10000 random numbers from 0 to 1, located in cells A1 through A10000. How many of the following statements A-D are true?
A. A COUNTIFS function in cell B2 with one criterion, based on the range A1:A10000, cannot evaluate to less than 0.
B. A COUNTIFS function in cell B2 with two criteria, each based on the range A1:A10000, cannot evaluate to less than 0.
C. A COUNTIFS function in cell B2 with one criterion, based on the range A1:A10000, cannot evaluate to greater than 10000.
D. A COUNTIFS function in cell B2 with two criteria, each based on the range A1:A10000, cannot evaluate to greater than 10000.
Choose the correct answer from the options given below:
Answer: A. 4 — ConceptA counting function returns the number of records that satisfy its condition set. A count is nonnegative, and when every candidate record contributes…
- A.
4
- B.
3
- C.
2
- D.
1
Show answer & explanation
Correct answer: A
Concept
A counting function returns the number of records that satisfy its condition set. A count is nonnegative, and when every candidate record contributes at most once, it cannot exceed the number of candidate records.
COUNTIFS applies all supplied criteria to corresponding rows and counts each qualifying row once. Adding criteria can reduce or preserve the qualifying set, but it does not change these numerical bounds.
Application
The range A1:A10000 contains 10,000 candidate cells, so any COUNTIFS result based on this range is a count of qualifying rows.
The smallest possible count is 0, whether the formula has one criterion or two; therefore statements A and B hold.
The largest possible count is 10,000 because no row can contribute more than one to the result; therefore statements C and D hold.
Thus all four statements A-D are true.
Cross-check
An impossible criterion gives 0, while a criterion satisfied by every cell gives 10,000. A second criterion only filters the same 10,000 rows, so it cannot produce a negative result or a count above 10,000.
Contrast
The value 4 counts both lower-bound statements and both upper-bound statements.
The value 3 would omit one valid bound even though the criteria count does not alter the range size.
The value 2 would apply the bounds to only one of the two COUNTIFS cases.
The value 1 would retain only one bound from one formula case.
Result
Therefore, the number of true statements is 4.