You will learn to replace traditional Excel PivotTables with the GROUPBY and PIVOTBY dynamic array functions that summarize and group your data. It suits Excel users who want summaries that update automatically when data changes. You need a version of Excel that supports these functions and a clean data table.
YouTube video: I don't use Pivot Tables in Excel anymore, I do this instead
YouTube’s video details do not confirm captions. Check CC in the player for available tracks.
Choose a chapter (9)
- Video length
- 21 min 11 s
- Time to do it
- 20 minutes
- Difficulty
- Medium
- Steps
- 8
What you need
Steps
Lay out your data as a clean table with one header row and no blank rows or columns. Keep each column to one type of value, such as dates, text or numbers.
Select a blank cell away from the data where the summary should appear. Leave enough empty rows and columns for the results to spill into.
Type =GROUPBY( and select the column you want to group by, such as Region or Category. Add the column you want to summarize, such as Sales.
Choose the summary function inside GROUPBY, for example SUM, and close the bracket. Press Enter and check that the grouped totals spill into the cells below.
Type =PIVOTBY( to build a two-way summary. Enter the row field first, then the column field, then the value field and the summary function.
Add optional arguments to filter, sort or limit the results, such as a filter array or a sort order. Press Enter and confirm the layout matches what you need.
Change a value in your source data and watch the formula results update on their own, with no refresh step.
If you use AI, give ChatGPT a clear prompt naming your columns and the summary you want, then paste the returned formula into Excel and adjust the ranges.
Tips and common mistakes
Keep source data in a proper table with consistent headers, or the functions will return errors.
Leave empty cells around the formula so the spilled results are not blocked.
GROUPBY and PIVOTBY only work in newer Excel versions, so check support before relying on them.
Save a copy of your workbook before replacing existing PivotTables.
Questions
Do I need to refresh these formulas like a PivotTable?
No. GROUPBY and PIVOTBY are dynamic array formulas, so results recalculate automatically when the source data changes.
What if Excel shows a #NAME? error?
Your Excel version likely does not support these functions yet. Update Excel or keep using a standard PivotTable.
Can I still use regular PivotTables?
Yes. The formulas are an alternative, not a replacement, and both can work in the same workbook.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


