Searching for a formula to display highest score and last date student tested

Excelself

New Member
Joined
Mar 16, 2018
Messages
22
I have a database containing hundreds of students. That database has student ID numbers (column A), student last name (column B), students first name (column C), test scores (column D) , and test date (column E) as shown below. I want column F to display the student's ID number, column G, the student's last name, column H , the student's first name, column I, the student's highest score from all the tests he/she has taken and column J, the date when that student last tested. The problem is that the database contains information about a same student who has taken the test several times and therefore his/her ID and name appears multiple times with a different test score and a different test date. I want a formula to identify every student from the database by their ID, last name, first name, highest score, and last date he/she tested'.
Thank you!!!

Below is an example of a database

IDLAST NAMEFIRST NAMETEST SCORETEST DATEIDLAST NAMEFIRST NAMEHIGHEST SCORELAST TEST DATE
1771234SMITHALLEN4508/4/19
1771235ABILNOE5629/4/19
1771236VILLAMARY48910/1/19
1771234SMITHALLEN54510/8/19
1771234SMITHALLEN6009/2/19
1771239ESQUIVELMARIO5209/25/19
1771236VILLAMARY5968/30/19

<tbody>
</tbody>
 
BTW, I don't think a Pivot Table would give you the results with all the information for a student on a single row like you requested.

why not?

IDLAST NAMEFIRST NAMEMax of TEST SCOREMin of TEST SCOREMax of TEST DATE
1771234
SMITHALLEN
600​
450​
08/10/2019​
1771235
ABILNOE
562​
562​
04/09/2019​
1771236
VILLAMARY
596​
489​
01/10/2019​
1771239
ESQUIVELMARIO
520​
520​
25/09/2019​
 
Upvote 0

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
sure

screenshot-119.png


add TEST SCORE twice, one for MAX and one for MIN

edit:
no subtotals
no totals
report layout in table form
 
Last edited:
Upvote 0
That is what I did and it worked.

Got another question for you.

How can i figure out on what date the highest score was obtained and on what date the lowest score was obtained? I need a column with the highest score with the date it was obtained on the next column and same thing for the lowest score.

Thank you


A
BCDEFGHIJ
1IDLAST NAMEFIRST NAMETEST SCORETEST DATEIDLAST NAMEFIRST NAMEHIGHEST SCORELAST TEST DATE
21771234SMITHALLEN4504/08/20191771234SMITHALLEN6008/10/2019
31771235ABILNOE5624/09/20191771235ABILNOE5624/09/2019
41771236VILLAMARY4891/10/20191771236VILLAMARY5961/10/2019
51771234SMITHALLEN5458/10/20191771239ESQUIVELMARIO52025/09/2019
61771234SMITHALLEN6002/09/2019
71771239ESQUIVELMARIO52025/09/2019
81771236VILLAMARY59630/08/2019

<tbody>
</tbody>
 
Upvote 0
with Power Query

IDLAST NAMEFIRST NAMEMaxTEST DATEMinTEST DATE.1
1771234​
SMITHALLEN
600​
09/02/2019​
450​
08/04/2019​
1771235​
ABILNOE
562​
09/04/2019​
562​
09/04/2019​
1771236​
VILLAMARY
596​
30/08/2019​
489​
10/01/2019​
1771239​
ESQUIVELMARIO
520​
25/09/2019​
520​
25/09/2019​

but formula solution maybe someone else ;)
 
Upvote 0
That is what I did and it worked perfectly thanks to you. I pulled a chunk of the database I handle at work and I am having problems with the followings:
1. I need to add a column to what you already helped me with that would tell me on what day did the student score low and on what day did the student score high along with their respective scores I also need the respective EFL (Educational Functional Level) on these days. A good example is Christopher Aguirre :his highest score was on 8/12/19 with a score of 550 and an EFL of 4. His lowest was obtained on 9/20/19 with a score of 482 and an EFL of 2. Therefore, I need column for date, high score, EFL for low and high scores.

Thank you for helping me. I really do appreciate it

Student Id
Student Last Name
Student First Name
Test Type Cd
Test Dt
Scale Score
Efl
1793528
Acevedo
Blessing
TABE 11/12 Reading
9/18/2019
493
2
1775820
Acker
Christopher
TABE 11/12 Reading
8/8/2019
482
2
1812454
Acosta
Brittany
TABE 11/12 Reading
10/9/2019
486
2
1797562
Acosta
Bryan
TABE 11/12 Reading
7/19/2019
477
2
1801415
Addison Jr
Delaney
TABE 11/12 Reading
9/11/2019
493
2
1790581

Aguirre
Christopher
TABE 11/12 Reading
7/9/2019
487
2
1789539
Aguirre

Christopher
TABE 11/12 Reading
9/20/2019
482
2
1782665

Aguirre
Christopher
TABE 11/12 Reading
8/12/2019
550
4
1618791

Albarran
Jackielynn
TABE 11/12 Reading
7/9/2019
572
4


<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,065
Messages
6,122,945
Members
449,095
Latest member
nmaske

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