Function Problems

How to Use Different Summary Functions for Each Column in Excel

Huda QurayshiHuda Qurayshi Nov 10, 2026 868 views

Question details

The user needs to apply different aggregation functions, such as sum, count, and max, to distinct columns simultaneously when summarizing data grouped by date.

How to Use Different Summary Functions for Each Column in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Summarizing large datasets grouped by specific fields where each numeric column requires a unique mathematical calculation.
Observed behavior
Users need a streamlined method or formula to calculate and display multiple calculation types across different columns in a single summarized view.
Before you start

Ensure your dataset is organized in a proper tabular format with clear column headers without blank rows, and check your Excel version, as modern array functions are limited to newer releases.

Solution 1Recommended

Summarize Multiple Columns Using a PivotTable

PivotTables provide a visual, widely compatible method to apply varying summary functions to different columns without writing formulas.

This method is highly recommended because it works across all versions of Excel and provides an interactive interface for changing data views.

1
Insert a PivotTable

Highlight your entire dataset, navigate to the 'Insert' tab on the ribbon, and click 'PivotTable'.

2
Set Up Your Grouping

In the PivotTable Fields pane, drag your grouping field (such as 'Date') into the 'Rows' area.

3
Add Fields to Values

Drag the columns you wish to summarize into the 'Values' area. You can drag the same field multiple times if you need different summaries for it.

4
Change the Summary Functions

Click the drop-down arrow on each field within the 'Values' area, select 'Value Field Settings', and choose your desired calculation (e.g., Sum, Count, Max). Click 'OK'.

Summarize Multiple Columns Using a PivotTable
Quick Formatting: You can quickly format the output numbers directly from the 'Value Field Settings' dialog by clicking 'Number Format'.
Advanced Data Analysis

Use WPS Spreadsheet to Summarize Data Effortlessly

WPS Spreadsheet provides powerful data analysis tools, including fully featured PivotTables, making it simple to apply different summary functions to your columns without memorizing complex formulas.

  1. 1. Open Your Dataset: Launch WPS Spreadsheet and open your existing data file.
  2. 2. Create a PivotTable: Navigate to the 'Insert' tab on the top menu and select 'PivotTable'.
  3. 3. Assign Custom Summaries: Drag your columns into the 'Values' area, click the drop-down menu for each, choose 'Value Field Settings', and independently set them to Sum, Count, or Max.
Fully compatible with Microsoft Excel (.xlsx, .xls) file formats.Robust PivotTable features that easily handle multi-column summaries.Lightweight software that runs smoothly even on older devices.Free to use with a familiar, highly intuitive user interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I use the GROUPBY function in my Excel?

The GROUPBY function is a relatively new dynamic array function that is exclusive to Microsoft 365. If you are using Excel 2021, 2019, 2016, or older, you will need to rely on PivotTables or Power Query for these calculations.

Can I use the Subtotal tool to apply different functions to columns?

The built-in 'Subtotal' feature typically applies one selected mathematical function (like Sum) to all chosen columns at once. To apply different functions to different columns simultaneously, utilizing a PivotTable is the standard approach.

Will my PivotTable automatically update if I change the original data?

No, PivotTables do not update automatically when source data changes. You must right-click anywhere inside the PivotTable and select 'Refresh' to update the summary calculations.

Can I use multiple summary functions on the exact same column?

Yes. In a PivotTable, you can drag the exact same column into the 'Values' area multiple times. You can then assign a different function (for example, one for Sum and one for Average) to each instance of the column.