DEV Community

Cover image for #72 — Filter by Grouped Aggregation Values
Judith-Excel-Sharing
Judith-Excel-Sharing

Posted on

#72 — Filter by Grouped Aggregation Values

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

Top comments (1)

Collapse
 
judith677 profile image
Judith-Excel-Sharing

Use SPL XLL for seamless data processing and discuss your experiences with the communities!

Discord
Reddit