Jump to content

Failing HARD at Excel Thing - Removing Duplicates Based On Single Column


Recommended Posts

Posted

Ok here goes, tearing my hair out over this one.

 

So, I export a list of students from SIMS. Basically what I'm trying to do is get a report together of just one single parent/guardian email address per student.

 

List in vanilla form looks something like:

 

misery01.JPG

 

And what I'd like to have is for every kid in the first column, just the one entry (so I only get that single parent/guardian email address per student.) So something like:

 

misery02.JPG

 

Trying I guess to de-duplicate the whole thing based on the first column, but I'm really not succeeding.

 

Can anyone with some clevers that way help me out? Thanks much in advance.

Posted

You could use Macros, or for a quick and dirty, Sort and Filter - "custom sort".

 

Assuming there is only one parent one per pupil:

Sort by:

Parent Name

Student.

 

Block delete everything after the last parent one entry.

  • Thanks 1
Posted
Can anyone with some clevers that way help me out? Thanks much in advance.

 

Any reason you just don't use the don't show duplicates option in the SIMs report? Should remove it from showing two lines per student and only output 1 assuming you're focus is students

 

Steve

  • Thanks 1
Posted
The Data tab in excel has a Delete duplicates button. Select the range, click the button and then chose which column(s) you want to find duplicates.

 

You know I tried this yesterday and for some reason it was doing something bananas. Think it's probably something to do with having filtered out empty entries in the parent email addresses before running it (so we'd only ultimately be showing things with data in there, and if a blank field appeared there it'd be gone.)

 

This morning re-read all this and though I'd get a bit rough with it, so copied that filtered data out into a new document THEN ran the de-dupe against the first column and it worked fine. This was KILLING me yesterday as well.

 

Thanks everybody for all the help there. :)

  • Thanks 3

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...