DEV Community

Cover image for #96 — Identify Duplications of Row-Based Data — by Key Column
Judith-Excel-Sharing
Judith-Excel-Sharing

Posted on • Edited on

#96 — Identify Duplications of Row-Based Data — by Key Column

Problem description & analysis:

Here below is a personnel data table:

source table

Task: Identify whether there are duplicate data, if so, fill in 1 in the corresponding Dup field, otherwise fill in 0 (the identifying basis is that the data in the Name field are the same).

Solution:

Use SPL XLL and enter the formula in cell E2:

=spl("=if(?1.conj().select(~==?2).count()>1,1,0)",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 make your workflow more efficient!!! 🚀🔥⬇️

✨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

Whether you are an Excel enthusiast, data analyst, or professionals handling data processing, welcome to our communities and share more with others!

🥳Discord
🥳Reddit