ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Duplicate entries in excel spreadsheet (https://www.excelbanter.com/excel-discussion-misc-queries/47570-duplicate-entries-excel-spreadsheet.html)

Coldsplice

Duplicate entries in excel spreadsheet
 
I have lists of attendees to an annual event. I've taken the lists and
combined them, and sorted them by first and last name alpha. I want to keep
the names and corresponding collumns for those that attended my event more
than once and dump the rest. Is there a way to sort them quickly as i have
over 15,000 names.
Cheers!

Jim Rech

I'd insert two new columns before the list, say A and B. In the first data
row in B, say B2, I'd enter a formula that combines the first and last names
to create a field the uniquely identifies each record: =C2&D2 and copy it
down to all records. Next in A2 enter this formula: =IF(B2=B1,A1+1,1) and
copy it down.

Change Calc mode to Manual if it's not. Then sort by column A. All the
"2"s are the records you want. Select the range from the first 2 to the
last, copy, and paste it in a new sheet.

--
Jim
"Coldsplice" wrote in message
...
|I have lists of attendees to an annual event. I've taken the lists and
| combined them, and sorted them by first and last name alpha. I want to
keep
| the names and corresponding collumns for those that attended my event more
| than once and dump the rest. Is there a way to sort them quickly as i
have
| over 15,000 names.
| Cheers!




All times are GMT +1. The time now is 12:21 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com