-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Overview
Implement the AGGREGATE function for the named-functions library.
Description
Returns an aggregate in a list or database using one of 19 different functions with special handling for errors, hidden rows, and nested subtotals.
Value Proposition
- Very powerful for real-world data processing
- Can ignore errors that would break regular aggregation functions
- Can ignore hidden rows (useful for filtered data)
- Can ignore nested SUBTOTAL and AGGREGATE functions
- Single function interface for 19 different aggregation operations
Priority
HIGH
Category
Aggregation & Calculation
Implementation Notes
- Support function numbers 1-19 (AVERAGE, COUNT, COUNTA, MAX, MIN, PRODUCT, STDEV.S, STDEV.P, SUM, VAR.S, VAR.P, etc.)
- Options parameter: 0-7 for different ignore behaviors
- Complex function - will be larger implementation
- Consider breaking into helper functions for each aggregate type
- Error handling is critical feature
- Reference: Excel AGGREGATE function documentation
Related
Part of Excel function implementation initiative (#51)
Reactions are currently unavailable