what are the functions used for calculating sub totals ?
-
Using Rollup() function
-
Using SUBTOT() function
-
Using SUBSUM() function
-
All the above
A
Correct answer
Explanation
The Rollup function is the standard method for calculating subtotals and aggregated values in data analysis tools, databases (especially MongoDB with $rollup), and spreadsheet applications. While other functions like SUBTOTAL exist, Rollup is the most widely applicable approach for hierarchical aggregation. Option D cannot be correct since SUBTOT and SUBSUM are not standard function names.