I have a data set which contains test results for students, and I need to be able to compile them onto separate sheets. The original sheet looks something like this:
Name...............Subject.......Date..........Score
Smith, John.......Reading.....4/7/15.........5.5
Smith, John.......Reading.....3/2/15.........6.4
Smith, John.......Math..........4/3/15........9.8
Smith, John.......Math..........1/27/15......7.6
Doe, Jane..........Math.........3/22/15........8.2
Doe, Jane..........Reading.....3/22/15.......7.1
Doe, Jane..........Math..........2/11/15......6.1
James, Tom.......Reading......4/6/15.......10.0
James, Tom.......Math..........4/6/15.......11.7
James, Tom.......Reading......2/27/15.....11.1
James, Tom.......Reading......1/9/15.......10.2
James, Tom.......Reading......12/12/14....8.7
James, Tom.......Math..........1/10/15......7.1
I need a new worksheet the will find each name and list it only once for each subject, then pull the dates and scores for each subject and display the most recent date, and the difference between the first score and the highest score. If the first score is the highest, it should display 0. If there is only one score for that subject, it should not pull it at all. So for the sample above, it would look something like this:
Name................Subject.....Date...........Gain
Smith, John.......Reading....4/7/15..........0.0
Smith, John.......Math........4/3/15..........2.2
Doe, Jane..........Math........3/22/15.........2.1
James, Tom.......Reading....4/6/15..........2.4
James, Tom.......Math........4/6/15..........4.6
And then a third tab that simply pulls the name once for each subject, along with the most recent date tested and the actual score for that date, like so:
Name................Subject.....Date.........Score
Smith, John.......Reading....4/7/15.........5.5
Smith, John.......Math........4/3/15.........9.8
Doe, Jane..........Math........3/22/15.......8.2
Doe, Jane..........Reading....3/22/15.......7.1
James, Tom.......Reading....4/6/15........10.0
James, Tom.......Math........4/6/15.........11.7
There may not be a simple solution for this, but I need to make Excel do as much of the work as possible. This will be used by multiple users who can do little more than copy paste, so the macros or formulas in place need to do the rest.
Thank you in advance for your help!
Name...............Subject.......Date..........Score
Smith, John.......Reading.....4/7/15.........5.5
Smith, John.......Reading.....3/2/15.........6.4
Smith, John.......Math..........4/3/15........9.8
Smith, John.......Math..........1/27/15......7.6
Doe, Jane..........Math.........3/22/15........8.2
Doe, Jane..........Reading.....3/22/15.......7.1
Doe, Jane..........Math..........2/11/15......6.1
James, Tom.......Reading......4/6/15.......10.0
James, Tom.......Math..........4/6/15.......11.7
James, Tom.......Reading......2/27/15.....11.1
James, Tom.......Reading......1/9/15.......10.2
James, Tom.......Reading......12/12/14....8.7
James, Tom.......Math..........1/10/15......7.1
I need a new worksheet the will find each name and list it only once for each subject, then pull the dates and scores for each subject and display the most recent date, and the difference between the first score and the highest score. If the first score is the highest, it should display 0. If there is only one score for that subject, it should not pull it at all. So for the sample above, it would look something like this:
Name................Subject.....Date...........Gain
Smith, John.......Reading....4/7/15..........0.0
Smith, John.......Math........4/3/15..........2.2
Doe, Jane..........Math........3/22/15.........2.1
James, Tom.......Reading....4/6/15..........2.4
James, Tom.......Math........4/6/15..........4.6
And then a third tab that simply pulls the name once for each subject, along with the most recent date tested and the actual score for that date, like so:
Name................Subject.....Date.........Score
Smith, John.......Reading....4/7/15.........5.5
Smith, John.......Math........4/3/15.........9.8
Doe, Jane..........Math........3/22/15.......8.2
Doe, Jane..........Reading....3/22/15.......7.1
James, Tom.......Reading....4/6/15........10.0
James, Tom.......Math........4/6/15.........11.7
There may not be a simple solution for this, but I need to make Excel do as much of the work as possible. This will be used by multiple users who can do little more than copy paste, so the macros or formulas in place need to do the rest.
Thank you in advance for your help!
Last edited: