Finding a case of two unique identifiers for a student

roobydoo

Board Regular
Joined
Aug 11, 2005
Messages
85
I have a list of around 6,000 entries in a spreadsheet. These are test records for students. Each time a student tests, a record is added to the list. Some students may have several records, some only one. Each student has a unique SSID number. In almost all cases, a student only has one SSID number. Occasionally, due to an error, a student may have tested under two different SSID numbers. Is there a way to find out, in this spreadsheet, any student who may have more than one SSID number? Here is a list of some of the column headings: SSID#, LName, FName, Student #, Grade, Ethnicity, Birthdate, Test Score. Can anyone help me?
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi,

How about a Countif and a Helper column?

Excel Workbook
ABCDEFGHIJ
1SSID#LnameFnameStudent*****Check
2SS12345SimpsonLisaLisa Simpson*****2
3SS12346SimpsonBartBart Simpson*****1
4SS12347FlandersTodTod Flanders*****2
5SS12348FlandersRodRod Flanders*****1
6SS12349SimpsonLisaLisa Simpson*****2
7SS12350MuntzNelsonNelson Muntz*****1
8SS12351WiggumRalphRalph Wiggum*****1
9SS12352Van HoutenMilhouseMilhouse Van Houten*****1
10SS12353FlandersTodTod Flanders*****2
StudentList


The formulas used need to be copied down.

This will only work IF you DON'T have students with the same name!!

I hope it works for you.

Ak
 
Upvote 0
Taking Akashwani's example one step further;
If you add the birthdate to the name string in column D, students with identical names are catered for (unless they're twins).
 
Upvote 0
Good idea. I will do that. I had to remove duplicates first - of the SSID and then I put in the formula and then sorted by the check column and all the students with duplicate SSIDs showed up. I love this forum because you are much better thinkers than I am!
 
Upvote 0
Hi roobydoo,

Thanks for the feedback.

If you have 6,000 plus rows of data, I would suggest using Conditional Formatting to highlight the duplicates, or you could filter by column J in the sample data I gave.

To use C F...
Highlight your range from top left cell to bottom right cell within your range, select C F, in Excel 2007 select New Rule, Use a Formula etc and paste this into the box $J2>1 select your Format, click OK etc.

I hope that makes life a bit easier for you.

Good luck with your project.

Ak
 
Upvote 0
Thank you. I never thought about conditional formatting. I use it occasionally but I always have to play around with the formula part to figure out what formula will work. So thanks for that.
Roobydoo
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,741
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top