GROUPBY and PIVOTBY Functions in Excel – Pivot Table Killers

Microsoft introduces GROUPBY and PIVOTBY—powerful new dynamic array functions that deliver Pivot Table–like results instantly, with no need to refresh.
Duration: 1 Day
Hours: 2 Hours
Training Level: All Levels
Batch One
Monday, April 06, 2026
12:00 PM - 02:00 PM (Eastern Time)
Batch Two
Monday, May 04, 2026
12:00 PM - 02:00 PM (Eastern Time)
Batch Three
Monday, June 08, 2026
12:00 PM - 02:00 PM (Eastern Time)
Live Session
Single Attendee
$149.00 $249.00
Live Session
Recorded
Single Attendee
$199.00 $332.00
6 month Access for Recorded
Live+Recorded
Single Attendee
$249.00 $416.00
6 month Access for Recorded

About the Course:

Discover how Microsoft's new dynamic array functions, GROUPBY and PIVOTBY, can transform your Excel analysis.

These functions allow you to generate Pivot Table–style summaries directly using formulas, and unlike traditional Pivot Tables, they update instantly when the source data changes. No manual refresh required.

In this session, we will:

  • Deep dive into GROUPBY syntax and required vs optional arguments
  • Build multi-level grouped summaries
  • Control totals and subtotals using total depth
  • Sort results dynamically (ascending, descending, multi-column sorting)
  • Apply filter arrays inside the function
  • Use HSTACK to control grouping hierarchy
  • Display text results in the values area using ARRAYTOTEXT
  • Create unique text lists using LAMBDA + UNIQUE
  • Generate unique counts
  • Recreate full cross-tab reports using PIVOTBY
  • Compare performance and flexibility vs traditional Pivot Tables

This session will also cover the current limitations of these functions, the status of Insider/Beta availability, and scenarios where Pivot Tables remain the preferred choice.

Course Objectives:

By the end of this webinar, participants will be able to:

  • Write GROUPBY formulas accurately with structured references or ranges.
  • Distinguish between mandatory and optional inputs in GROUPBY.
  • Manage header behaviour, including showing, hiding, generating, or treating headers as data.
  • Use HSTACK to build grouping hierarchies.
  • Control grand totals and subtotals with total depth.
  • Apply dynamic sorting with positive and negative column indexes.
  • Perform multi-column sorting with array syntax.
  • Use filter arrays to dynamically filter results.
  • Display text results within grouped outputs.
  • Build unique text lists with LAMBDA, UNIQUE, and ARRAYTOTEXT.
  • Generate unique counts without Power Pivot.
  • Create cross-tab reports with PIVOTBY.
  • Control row and column sorting independently.
  • Recognise current beta limitations and potential bugs.
  • Identify scenarios where Pivot Tables outperform formula-based summaries.

Who is the Target Audience?

  • Excel users are already comfortable with Pivot Tables.
  • Business analysts and reporting professionals frequently use these tools.
  • Excel power users are exploring modern dynamic arrays.
  • Finance professionals often work with summarised reports.

Basic Knowledge:

  • Demonstrate proficiency with basic Excel formulas.
  • Understand the purpose and functionality of Pivot Tables.
  • Be familiar with structured tables (Ctrl + T).
  • Preferably use Excel 365, which supports GROUPBY and PIVOTBY.

Curriculum
Total Duration: 2 Hours
Introduction to GROUPBY & PIVOTBY

  • Why did Microsoft introduce these functions
  • Dynamic arrays vs traditional Pivot Tables
  • Instant recalculation vs manual refresh

GROUPBY Function, Deep Dive

  • Row fields input
  • Values input
  • Aggregation function input (SUM, COUNTA, ARRAYTOTEXT, etc.)
  • Importance of including headers
  • Field headers behavior (0, 1, show, hide, generate)
  • Total depth (no totals, grand totals only, subtotals + grand totals)
  • Sorting using column index numbers
  • Descending sorting using negative indexes
  • Multi-column sorting using array syntax
  • Filter array input

Multi-Level Grouping

  • Using contiguous ranges
  • Understanding incorrect hierarchy behavior
  • Using HSTACK to control grouping order
  • Stacking non-contiguous columns

Advanced Text Aggregation

  • Using ARRAYTOTEXT for text results
  • Handling repeated values
  • Creating custom aggregation with LAMBDA
  • Combining LAMBDA + UNIQUE + ARRAYTOTEXT
  • Creating unique counts using COUNTA + UNIQUE

PIVOTBY Function, Deep Dive

  • Understanding row fields vs column fields
  • Replicating classic Pivot Table layouts
  • Column totals depth
  • Column sorting
  • Row sort order
  • Multi-level row sorting
  • Filter arrays inside PIVOTBY

Sorting Behavior Differences

  • Multi-column sorting behavior in GROUPBY
  • Multi-column sorting behavior in PIVOTBY
  • Beta inconsistencies and potential bugs

Performance & Practical Considerations

  • Performance comparison vs Pivot Tables
  • Handling large datasets (thousands of rows)
  • When formulas are more flexible
  • When Pivot Tables are more efficient
  • Practical decision guidelines

Final Verdict

  • Are GROUPBY & PIVOTBY Pivot Table killers?
  • Where they shine
  • Where Pivot Tables still dominate
  • Best use-case recommendations