#98 — Count Duplicates of Row-Based Data — by Key Column

Judith-Data-Processing-Hacks - Nov 18 '24 - - Dev Community

Problem description & analysis:

Here below is a personnel data table:

source table
Task: Count the number of duplicate data (the judging basis is that the data in the Name field are the same).

Solution:

Use SPL XLL and enter the formula in the cell E2:

=spl("=?1.conj().select(~==?2).count()",B$2:B$7,B2)
Enter fullscreen mode Exit fullscreen mode

Then drag E2 down to every relevant row:

result table


Download esProc Desktop for FREE and level up your Excel game!!! 🚀🔥⬇️

✨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

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