#72 — Filter by Grouped Aggregation Values

Judith-Excel-Sharing - Oct 12 - - Dev Community

Problem description & analysis:

We have an Excel table for the daily sales of products:
source table

Task: We want to find out the date when the total daily sales amount exceeds 300,000.

Solution:

Use SPL XLL and enter the following code:

=spl("=E(?1).groups(OrderDate;sum(Sales):TotalSales).select(TotalSales>300000)",A1:C2401)
Enter fullscreen mode Exit fullscreen mode

The results are as shown below:
result table


Download esProc Desktop for FREE and Boost your Excel productivity with this technique!!! 🚀🔥⬇️

✨SPL download address: esProc Desktop FREE Download

✨Plugin Installation Method: SPL XLL Installation and Configuration

✨References to other rich Excel operation cases: Desktop and Excel Data Processing Cases

✨YouTube FREE courses: SPL Programming

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .