To summarize data in Excel, the quickest options are AutoSum or the Total Row for simple totals, SUMIFS and COUNTIFS for totals by category, and a PivotTable for a full summary report you can reshape in seconds. Newer Microsoft 365 versions add the GROUPBY and PIVOTBY functions (formula-based summaries) and AI helpers like Analyze Data and Copilot.
Below are 10 methods, all worked on the same small sales table so you can follow along and check your answers. Pick the one that matches your task, then jump to its section.
Which Method Should I Use? (Quick Guide)
| Method | Best for | Excel version |
|---|---|---|
| 1. AutoSum, status bar, Quick Analysis | A fast total, average, count, max or min | Long-standing feature |
| 2. Excel Table + Total Row + Slicers | Totals that follow your filters | Long-standing feature |
| 3. SUMIFS / COUNTIFS / AVERAGEIFS | Totals by one or more conditions, in a fixed report layout | All current versions |
| 4. PivotTable | Interactive summary reports, drag-and-drop | Long-standing feature |
| 5. GROUPBY and PIVOTBY | Formula-driven summaries that recalculate by themselves | Microsoft 365 |
| 6. UNIQUE + SUMIFS | A summary without a PivotTable that picks up new categories | Microsoft 365, 2024, 2021 |
| 7. Subtotal command | Grouped subtotals on a sorted list | Long-standing feature |
| 8. Consolidate | Combining totals from several sheets | Long-standing feature (desktop only, not Excel for the web) |
| 9. Analyze Data and Copilot | Plain-English questions and instant insights | Analyze Data: Microsoft 365. Copilot: eligible Microsoft 365 licence |
| 10. Descriptive Statistics (Analysis ToolPak) | Mean, median, standard deviation and more in one go | Free add-in, long-standing (desktop) |
“Long-standing feature” means it has been in Excel for many releases, so any current desktop version has it.
Watch: 10 Ways to Summarize Data in Excel
The Sample Data Used in This Guide
Every example uses this 12-row sales table. Type it into a blank sheet starting at cell A1, so the cell references below match. Region is in B2:B13 and Revenue is in F2:F13.
| A: Order Date | B: Region | C: Salesperson | D: Product | E: Units | F: Revenue (SGD) |
|---|---|---|---|---|---|
| 05-Jan-2026 | East | Aisha | Laptop | 3 | 4,500 |
| 12-Jan-2026 | West | Ben | Monitor | 5 | 1,750 |
| 20-Jan-2026 | East | Aisha | Monitor | 4 | 1,400 |
| 03-Feb-2026 | North | Chen | Laptop | 2 | 3,000 |
| 14-Feb-2026 | West | Ben | Laptop | 4 | 6,000 |
| 21-Feb-2026 | North | Chen | Keyboard | 10 | 600 |
| 02-Mar-2026 | East | Dev | Keyboard | 8 | 480 |
| 11-Mar-2026 | West | Ben | Monitor | 6 | 2,100 |
| 18-Mar-2026 | East | Dev | Laptop | 1 | 1,500 |
| 25-Mar-2026 | North | Chen | Monitor | 3 | 1,050 |
| 07-Apr-2026 | West | Eva | Keyboard | 12 | 720 |
| 15-Apr-2026 | East | Aisha | Laptop | 2 | 3,000 |
Answers to check against: total revenue is 26,100, East is 10,880, West is 10,570 and North is 4,650.
Step 0: Get Your Data Ready Before You Summarize
Most wrong totals come from messy source data, not from the summary method. Spend two minutes on this first.

- One header per column. Give every column a short, unique heading in row 1. No blank headings.
- No blank rows or columns inside the data. Gaps stop Excel from detecting the full range.
- Remove duplicates. Click inside the data, then go to Data > Remove Duplicates. See how to find and remove duplicates in Excel for a safer way to review them first.
- Keep each column to one data type. Dates as real dates, numbers as numbers (not text).
1. AutoSum, the Status Bar and Quick Analysis
This is the fastest way to get the “vital signs” of a column: total, count, average, highest and lowest.

- Click the empty cell under the Revenue column (F14).
- Go to Home > AutoSum and press Enter. Excel enters
=SUM(F2:F13)and returns 26,100. - Open the small drop-down arrow beside AutoSum to pick Average (
=AVERAGE(F2:F13)returns 2,175), Count Numbers (12), Max (6,000) or Min (480).
Even faster: select F2:F13 and look at the status bar at the bottom of the window. It shows the average, count and sum without typing anything. You can also select your data and press Ctrl+Q to open Quick Analysis, which offers totals, tables and charts with a preview before you commit.
Want to go beyond the five basics? Our guide to the top 12 most important Excel functions covers the rest.
2. Excel Table, Total Row and Slicers
Turn your range into a table and the totals follow your filters automatically.

- Click any cell in the data and press Ctrl+T (or Home > Format as Table). Tick “My table has headers”.
- On the Table Design tab, tick Total Row.
- In the Total Row under Revenue, choose Sum from the drop-down. You get 26,100.
- Click the filter arrow on Region and tick only East. The Total Row now shows 10,880, because it uses the SUBTOTAL function, which ignores rows hidden by a filter.
Add slicers for one-click filtering: click inside the table and choose Insert > Slicer, then tick Region and Product. Click a button to filter, and the Total Row updates.

Quick sort: to see your top and bottom performers, click a cell in Revenue and choose Home > Sort & Filter > Sort Largest to Smallest.

3. SUMIFS, COUNTIFS and AVERAGEIFS (Summary Formulas by Category)
These formulas are the classic answer to “summary formula in Excel”. Set up a small report area and let the formulas fill it.

- In H1 type Region and in I1 type Revenue. List East, West and North in H2:H4.
- In I2 enter
=SUMIFS($F$2:$F$13,$B$2:$B$13,H2)and fill down. You get 10,880 (East), 10,570 (West) and 4,650 (North). - For the number of orders, use
=COUNTIFS($B$2:$B$13,H2). East has 5, West 4 and North 3. - For the average order value, use
=AVERAGEIFS($F$2:$F$13,$B$2:$B$13,H2). - Add a second condition by adding another range and criterion. East laptop revenue is
=SUMIFS($F$2:$F$13,$B$2:$B$13,"East",$D$2:$D$13,"Laptop"), which returns 9,000.
Remember: in SUMIFS the sum range comes first. In the older SUMIF it comes third. Mixing them up is the most common error. For more counting formulas, see multiple ways to count in Excel.
4. PivotTable (Best All-Round Summary Report)
A PivotTable is usually the best answer when someone asks “how do I create a summary report in Excel?”. You build the report by dragging fields, and you can change it in seconds.

- Click any cell in the data (or the table from method 2).
- Go to Insert > PivotTable and choose New Worksheet, then OK.
- In the PivotTable Fields pane, drag Region to Rows and Revenue to Values. Excel shows East 10,880, North 4,650, West 10,570 and a Grand Total of 26,100.
- Drag Product to Columns to turn it into a region-by-product grid. East Laptop shows 9,000.
- To count orders instead of adding revenue, click the field in Values, choose Value Field Settings and pick Count.
Two things to know: a PivotTable does not update when the source data changes until you refresh it (PivotTable Analyze > Refresh). Our guide to refreshing a PivotTable manually or automatically covers that. And if you are new to them, start with the Excel PivotTable tutorial.
Prefer video? Watch Part 8 of the free PivotTable course: Summarize Data With Excel Pivot Tables.
5. GROUPBY and PIVOTBY (New Summary Functions)
These two functions build a summary table with a single formula. The result spills into the cells below and recalculates when your data changes, so there is no refresh button.
GROUPBY: summarize by one field
- Click an empty cell, such as H8.
- Enter
=GROUPBY(B2:B13,F2:F13,SUM)and press Enter. - Excel spills a two-column table: each region with its total revenue (East 10,880, North 4,650, West 10,570).
The three required arguments are the field to group by (row_fields), the numbers to add up (values) and the function (SUM, AVERAGE, COUNT, PERCENTOF and so on). Optional arguments control headers, totals, sort order and filters.
PIVOTBY: summarize by rows and columns
- Click an empty cell, such as H14.
- Enter
=PIVOTBY(D2:D13,B2:B13,F2:F13,SUM). - Products run down the side, regions run across the top, and each cell holds the revenue. For example, Laptop under East is 9,000.
Availability: GROUPBY and PIVOTBY are Microsoft 365 functions. They are not in Excel 2021 or earlier perpetual versions. If you see a #NAME? error, your version does not have them. Update Excel or use method 3, 4 or 6 instead.
6. UNIQUE + SUMIFS (Summary Without a PivotTable)
If you want a live summary that picks up new categories automatically, and you do not want a PivotTable, combine UNIQUE with SUMIFS.
- In H2 enter
=UNIQUE(B2:B13). The list East, West, North spills down. - In I2 enter
=SUMIFS(F2:F13,B2:B13,H2#). The#tells Excel to use the whole spilled list. - You get 10,880, 10,570 and 4,650 beside their regions. Add a new region to your data and the list grows by itself.
Microsoft lists UNIQUE for Excel for Microsoft 365, Excel 2024 and Excel 2021. In older versions, type the category list by hand and use method 3.
7. Subtotal Command (Grouped Subtotals on a Sorted List)
Subtotal inserts a total row after each group and adds outline buttons so you can collapse the detail.

- Sort the data by Region (Data > Sort A to Z). Subtotal works best on sorted data.
- Click a cell in the data and go to Data > Subtotal.
- Set At each change in to Region, Use function to Sum, and tick Revenue under “Add subtotal to”.
- Click OK. You get East Total 10,880, North Total 4,650, West Total 10,570 and a Grand Total of 26,100.
- Use the 1, 2, 3 buttons at the top left to collapse the list to just the totals.

Heads-up: Subtotal is greyed out inside an Excel table. Convert the table back to a range first (Table Design > Convert to Range), or use a PivotTable. To remove subtotals, open the dialog again and click Remove All.
8. Consolidate (Combine Totals From Several Sheets)
Say each region keeps its own sheet (East, West, North) with the same two columns: Product and Revenue. Consolidate adds them up into one summary.
- Create a new sheet and click the top-left cell where the result should go.
- Go to Data > Consolidate and choose Sum as the function.
- Click in the Reference box, select the Product and Revenue range on the East sheet, and click Add. Repeat for West and North.
- Tick Top row and Left column so Excel matches by label, not by position. Click OK.
- The result shows Laptop 18,000, Monitor 6,300 and Keyboard 1,800, the same as the product totals from our PivotTable.
If the sheets have identical layouts, you can consolidate by position instead. Consolidate is not available in Excel for the web.
9. Analyze Data and Copilot (Ask in Plain English)
Analyze Data
- Click any cell in your data.
- Go to Home > Analyze Data. A task pane opens with suggested charts and summaries.
- Type a question in the box, such as “total revenue by region”, and press Enter. Insert the PivotTable or chart you like.
Analyze Data needs a Microsoft 365 subscription. It works best when your data is an Excel table with one header row, and it does not support datasets over 1.5 million cells.
Copilot in Excel
- Open Copilot from the Home tab (your workbook must be saved to OneDrive or SharePoint).
- Ask for what you want and name your columns, for example: “Summarize total Revenue by Region and Product in a PivotTable.”
- Check the result before you use it. Microsoft advises reviewing and verifying anything Copilot creates.
Copilot may not be included in your Microsoft 365 subscription or may be switched off by your organisation, so check your licence. Copilot can also summarise text, such as survey comments, into themes.
10. Descriptive Statistics (Analysis ToolPak)
One click gives you mean, median, standard deviation, minimum, maximum, sum and count together.

- Switch on the add-in: File > Options > Add-ins, set Manage to Excel Add-ins, click Go, tick Analysis ToolPak and click OK.
- Go to Data > Data Analysis > Descriptive Statistics.
- Set the Input Range to F1:F13, tick Labels in first row and Summary statistics, and choose an output location.
- The report includes Mean 2,175, Maximum 6,000, Minimum 480, Sum 26,100 and Count 12.
The results are static numbers. Run the tool again if your data changes.
Common Mistakes and Troubleshooting
- Numbers stored as text. If SUM returns 0 or the cell shows a green triangle, convert the column to numbers (Data > Text to Columns > Finish often fixes it).
- PivotTable shows old numbers. Right-click it and choose Refresh. Basing it on an Excel table means new rows are included.
- Blank rows or merged cells break ranges, PivotTables and Analyze Data. Remove them first.
- SUMIFS returns 0. Check that the sum range and criteria ranges are the same size, and that the criteria text matches exactly (watch for trailing spaces).
- GROUPBY, PIVOTBY or UNIQUE shows #NAME? Your Excel version does not have the function. Update Microsoft 365 or use another method.
- #SPILL! error. Something is blocking the cells below the formula. Clear them.
- Subtotal is greyed out. You are inside an Excel table. Convert it to a range.
- Totals look too high after Subtotal. Do not add the Subtotal rows into a new SUM. Use the Grand Total row.
Frequently Asked Questions
How do I summarize data in Excel?
For a quick total, use AutoSum or select the cells and read the status bar. For totals by category, use SUMIFS or a PivotTable. For a full report, a PivotTable is usually the quickest to build and easiest to change.
How do I create a summary report in Excel?
Click inside your data, choose Insert > PivotTable, then drag a category field to Rows and a number field to Values. Add a second field to Columns for a grid, and add a slicer to filter. Refresh it when the source data changes.
How do I summarize data in Excel without a PivotTable?
Use SUMIFS, COUNTIFS and AVERAGEIFS for fixed layouts, or UNIQUE with SUMIFS for a list that grows by itself. In Microsoft 365 you can also use a single GROUPBY formula. The Subtotal command is another option for sorted lists.
What functions summarize data in Excel?
The core ones are SUM, COUNT, AVERAGE, MAX and MIN. For conditions, use SUMIFS, COUNTIFS and AVERAGEIFS. Newer Microsoft 365 versions add GROUPBY and PIVOTBY, which group and total data in one formula.
How do I summarize data by category in Excel?
Put the category in Rows and the numbers in Values in a PivotTable, or use =SUMIFS(sum_range, category_range, category). In Microsoft 365 you can also use =GROUPBY(category_range, value_range, SUM).
How do I get summary statistics in Excel?
Turn on the Analysis ToolPak (File > Options > Add-ins), then use Data > Data Analysis > Descriptive Statistics. It returns mean, median, standard deviation, minimum, maximum, sum and count in one table.
Can Copilot summarize my Excel data?
Yes, if your Microsoft 365 licence includes Copilot. Open the Copilot pane, name the columns you want and describe the summary. Always check the result against your data before sharing it.
Is the GROUPBY function available in my version of Excel?
GROUPBY and PIVOTBY are available in Excel for Microsoft 365. If your Excel does not recognise them, check for updates, or use a PivotTable or SUMIFS instead.
Cara merekap atau membuat summary data di Excel?
Cara tercepat adalah memakai PivotTable: klik data, pilih Insert > PivotTable, lalu seret kolom kategori ke Rows dan kolom angka ke Values. Untuk ringkasan sederhana, pakai =SUM(), =SUMIFS() atau fitur Data > Subtotal.
Want to master PivotTables and data analysis step by step?
Learn Excel with structured video lessons on ExcelChamp. See the Excel for Beginners course.

Start with the simplest method that answers your question, then move to a PivotTable or GROUPBY when you need a repeatable report. Try each one on the sample data above and your totals will match.
Cheers,
Vinai Prakash
About Vinai Prakash: trainer, speaker and author on Excel, data analysis and Power BI. Find out more at vinaiprakash.com.










