DEV Community

Cover image for #65 — Filter Rows by Position
Judith-Excel-Sharing
Judith-Excel-Sharing

Posted on

#65 — Filter Rows by Position

Pest description & analysis:

We have a statistical table for daily sales of January 2022:

original source table
Now we want to filter out the sales on even-numbered days.

Solution:

Enter the following formula in SPL XLL:
=spl("=E(?1).select(#%2==0)",A1:B32)
As shown in the picture below:

result table
The symbol # represents the current row number.


Feel free to download esProc Desktop and let SPL XLL automate this task for you!⬇️

✨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

Discuss your Excel problems with us!

Discord
Reddit