Excel GROUPBY Function Generator

Required Arguments


Enter cell range or array for grouping (e.g., A2:A10 or multiple columns A2:B10). This determines how your data will be grouped in the output.
Enter the range containing values to aggregate (e.g., C2:C10). These are the actual values that will be summarized.
Enter function name or lambda (e.g., SUM, AVERAGE, COUNT, or custom lambda). This determines how your values will be aggregated.

Optional Arguments


Enter numbers corresponding to columns. Use negative for descending (e.g., 1, -2). Multiple columns: [1, -2] sorts first column ascending, second descending.
Enter a range containing TRUE/FALSE values (e.g., D2:D10) to filter rows.