Stop Using Pivot Tables! 7 New Excel GROUPBY Tricks @LeilaGharani
Stop Using Pivot Tables! 7 New Excel GROUPBY Tricks  @LeilaGharani
Uploaded February 2025 | Updated December 2026, 3 hours ago
7 Excel GROUPBY tricks that go beyond what a pivot table can do.
📥 Download the free practice file: pages.xelplus.com/groupby-tricks-file?utm_source=yt-video&utm_medium=vid-description&utm_campaign=download-groupby-tricks&utm_content=groupby-tricks

🎓 Black Belt Excel Bundle (500,000+ enrolled in our courses): xelplus.com/course/excel-black-belt/?utm_source=yt-video&utm_medium=vid-description&utm_campaign=black-belt&utm_content=groupby-tricks

GROUPBY does more than basic grouping. I show you how to group by columns that aren't side by side, run several calculations at once, count unique items, format the total row so it moves with your results, and sort by month name instead of alphabetically.

The last trick returns a list of product names per division. That's something a standard pivot table can't do.

✅ Good to know
GROUPBY and PIVOTBY are available in Excel for Microsoft 365. They're not in Excel 2024 or older versions.
Unique count per group: =GROUPBY(TSales[Division],TSales[Product],LAMBDA(a,COUNTA(UNIQUE(a))))
List of unique items per group: swap COUNTA for ARRAYTOTEXT in the same LAMBDA.
When you pick a function like AVERAGE from the list with Tab, Excel adds brackets. Delete them, or the formula won't work.

⏱️ Chapters
00:00 7 GROUPBY tricks most people miss
00:31 The data: the TSales table
01:03 GROUPBY refresher: total sales by division and product
02:25 Trick 1: group by columns that aren't side by side (HSTACK)
03:41 Trick 2: several calculations for the same column
04:59 Trick 3: unique count per group with LAMBDA
07:25 Trick 4: format the total row
08:20 Format the total row with conditional formatting
09:30 Trick 5: sort by month name, not alphabetically
11:33 Hide helper columns with CHOOSECOLS
11:58 Trick 6: different calculations for different columns
13:24 Remove the extra row with DROP
13:44 Trick 7: return a list of items with ARRAYTOTEXT

🎬 GROUPBY and PIVOTBY, all you need to know: youtu.be/mCJzhCxEQlM
🎬 Excel LAMBDA, how and when to use it: youtu.be/Rm4y5UqauRw

➡️ Join this channel to get access to perks: youtube.com/channel/UCJtUOos_MwJa_Ewii-R3cJA/join

✉️ Get one practical Excel tip every week in our free newsletter, Between the Sheets: link.xelplus.com/yt-d-newsletter

🚩 Connect with us:
Instagram: instagram.com/lgharani
LinkedIn: linkedin.com/in/leilagharani

#excel #exceltips #excelformulas
Stop Using Pivot Tables! 7 New Excel GROUPBY TricksThe Secret to Note-taking for Busy PeopleHow to Use Excels New TAKE Function to Impress Your Boss and ColleaguesSecret FREE Windows Tools Nobody Is Talking About
Leila Gharani |

Stop Using Pivot Tables! 7 New Excel GROUPBY Tricks

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER