DEV Community

Cover image for #74 - Filter by Maximum Or Minimum Value within A Group (Find out One for Each Group)
Judith-Excel-Sharing
Judith-Excel-Sharing

Posted on

#74 - Filter by Maximum Or Minimum Value within A Group (Find out One for Each Group)

Problem description & analysis:

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

source table

Task: Find out products with the largest daily sales and their sales.

Solution:

Use SPL XLL and enter the following formula:

=spl("=E(?1).group(OrderDate).(~.maxp(Sales))",A1:C2401)
Enter fullscreen mode Exit fullscreen mode

The results are as shown below:

result table


Download esProc Desktop for FREE and subscribe for more data analysis tips and tutorials!!! 🚀🔥⬇️

✨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

Maximize your productivity with the communities now! 💡

Discord
Reddit