DEV Community

Cover image for #98 — Count Duplicates of Row-Based Data — by Key Column
Judith-Excel-Sharing
Judith-Excel-Sharing

Posted on

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

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

Top comments (1)

Collapse
 
judith677 profile image
Judith-Excel-Sharing

Feel free to share your thoughts and feedback with us!

💭Discord
💭Reddit