Uploaded November 2026 | Updated December 2026, 3 hours ago
⚡ BLACK FRIDAY Bundles through Dec 1st 👉 xelplus.com
AI is fast, but real depth in the tools you use every day is what actually makes it useful (and creative). If Excel is one of those tools for you, you'll benefit from our Black Friday bundles (Include Excel, Python in Excel, Power Query, Power BI and Copilot)
Hi - in case we haven't met, I'm Leila. I started my career as an Economist, then switched to business consulting. I've worked in operations, finance, IT and project management for over 15 years. For the past 11 years, I've been running XelPlus.com where I teach corporate professionals how to better leverage spreadsheets and data tools like Power BI to make an impact in their life and work.
#Excel
⚡ BLACK FRIDAY Bundles through Dec 1st 👉 xelplus.com
AI is fast, but real depth in the tools you use every day is what actually makes it useful (and creative). If Excel is one of those tools for you, you'll benefit from our Black Friday bundles (Include Excel, Python in Excel, Power Query, Power BI and Copilot)
Hi - in case we haven't met, I'm Leila. I started my career as an Economist, then switched to business consulting. I've worked in operations, finance, IT and project management for over 15 years. For the past 11 years, I've been running XelPlus.com where I teach corporate professionals how to better leverage spreadsheets and data tools like Power BI to make an impact in their life and work.
#Excel

![Stop Using Pivot Tables! 7 New Excel GROUPBY Tricks
7 Excel GROUPBY tricks that go beyond what a pivot table can do.
📥 Download the free practice file: https://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): https://www.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 arent 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. Thats something a standard pivot table cant do.
✅ Good to know
GROUPBY and PIVOTBY are available in Excel for Microsoft 365. Theyre 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 wont 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 arent 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: https://youtu.be/mCJzhCxEQlM
🎬 Excel LAMBDA, how and when to use it: https://youtu.be/Rm4y5UqauRw
➡️ Join this channel to get access to perks: https://www.youtube.com/channel/UCJtUOos_MwJa_Ewii-R3cJA/join
✉️ Get one practical Excel tip every week in our free newsletter, Between the Sheets: https://link.xelplus.com/yt-d-newsletter
🚩 Connect with us:
Instagram: https://www.instagram.com/lgharani
LinkedIn: https://www.linkedin.com/in/leilagharani
#excel #exceltips #excelformulas Stop Using Pivot Tables! 7 New Excel GROUPBY Tricks](https://i.ytimg.com/vi/yhppTEj5wqs/mqdefault.jpg)


