#65 — Filter Rows by Position

#65 — Filter Rows by Position

Problem description & analysis:

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

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:

The symbol # represents the current row number.


Please feel free to download esProc Desktop and boost your productivity today!⬇️

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