DEV Community

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

Posted on • Edited on

2 1 1 1 1

#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

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (1)

Collapse
 
judith677 profile image
Judith-Data-Processing-Hacks

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

🥳Discord
🥳Reddit

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →