reporting_95
New Member
- Joined
- May 7, 2019
- Messages
- 30
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Hi,[/FONT]
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]I have a workbook that lists all terms attended for each student as well as their GPA for that term in descending order. What I am trying to achieve is target the top entry for each student, which will give me the last term attended as well as their last known GPA. Please see a short example of a much larger list below. [/FONT]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Student ID[/TD]
[TD]Last Name[/TD]
[TD]First Name[/TD]
[TD]Cumulative GPA [/TD]
[TD]Term[/TD]
[/TR]
[TR]
[TD][FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]122145[/FONT]<strike></strike>
[/TD]
[TD]Smith[/TD]
[TD]John[/TD]
[TD]3.1[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD][FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]122145[/FONT]<strike></strike>
[/TD]
[TD]Smith[/TD]
[TD]John[/TD]
[TD]2.9[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD][FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]122145[/FONT][/TD]
[TD]Smith<strike></strike>
[/TD]
[TD]John[/TD]
[TD]3.45[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]122651[/TD]
[TD]Reid[/TD]
[TD]Jane[/TD]
[TD]3.7[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]122651[/TD]
[TD]Reid[/TD]
[TD]Jane[/TD]
[TD]3.0[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]122156[/TD]
[TD]Hayes[/TD]
[TD]Ben[/TD]
[TD]4.0[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD][FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]122156[/FONT]
[/TD]
[TD]Hayes[/TD]
[TD]Ben[/TD]
[TD]3.52[/TD]
[TD]5[/TD]
[/TR]
</tbody>[/TABLE]
As you can see from the example, the last term attended is always the first entry for each student. I would need Term 5 for John, Term 4 for Jane, and Term 6 for Ben. This would give me their last term attended, and cumulative GPA. I tried filtering out by specific term but that would throw off the numbers because each student's last term attended is different.
Is there a way I can target the top entry for each student? Please kindly advise.
Thanks!!
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]I have a workbook that lists all terms attended for each student as well as their GPA for that term in descending order. What I am trying to achieve is target the top entry for each student, which will give me the last term attended as well as their last known GPA. Please see a short example of a much larger list below. [/FONT]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Student ID[/TD]
[TD]Last Name[/TD]
[TD]First Name[/TD]
[TD]Cumulative GPA [/TD]
[TD]Term[/TD]
[/TR]
[TR]
[TD][FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]122145[/FONT]<strike></strike>
[/TD]
[TD]Smith[/TD]
[TD]John[/TD]
[TD]3.1[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD][FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]122145[/FONT]<strike></strike>
[/TD]
[TD]Smith[/TD]
[TD]John[/TD]
[TD]2.9[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD][FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]122145[/FONT][/TD]
[TD]Smith<strike></strike>
[/TD]
[TD]John[/TD]
[TD]3.45[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]122651[/TD]
[TD]Reid[/TD]
[TD]Jane[/TD]
[TD]3.7[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]122651[/TD]
[TD]Reid[/TD]
[TD]Jane[/TD]
[TD]3.0[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]122156[/TD]
[TD]Hayes[/TD]
[TD]Ben[/TD]
[TD]4.0[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD][FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]122156[/FONT]
[/TD]
[TD]Hayes[/TD]
[TD]Ben[/TD]
[TD]3.52[/TD]
[TD]5[/TD]
[/TR]
</tbody>[/TABLE]
As you can see from the example, the last term attended is always the first entry for each student. I would need Term 5 for John, Term 4 for Jane, and Term 6 for Ben. This would give me their last term attended, and cumulative GPA. I tried filtering out by specific term but that would throw off the numbers because each student's last term attended is different.
Is there a way I can target the top entry for each student? Please kindly advise.
Thanks!!