Adding total points from multiple rows

Excelself

New Member
Joined
Mar 16, 2018
Messages
22
Hi there!

I am trying to add the total points earned from a student. However, student ID column contains duplicate ID numbers. What I want to do is to create another column showing the student ID and the total points earned.

Thank you

StudId TOTAL POINTS
1619419 0.3
1619419 1
1619419 0.3
1619419 0.3
1784021 0.3
1784021 0.3
1784021 0.3
1775820 0.2
1775820 0.2
1775820 1
1775820 1
1775820 1
1775820 1
1792483 0.3
1792483 1
1740471 0.3
1740471 0.3
1740471 0.3
1740471 0.3
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
How about


Book1
ABCDE
1StudIdTOTAL POINTSStudidTotal
216194190.316194191.9
31619419117840210.9
416194190.317758204.4
516194190.317924831.3
617840210.317404711.2
717840210.3
817840210.3
917758200.2
1017758200.2
1117758201
1217758201
1317758201
1417758201
1517924830.3
1617924831
1717404710.3
1817404710.3
1917404710.3
2017404710.3
Audit
Cell Formulas
RangeFormula
D2=IFERROR(INDEX(A$2:A$20,MATCH(0,INDEX(COUNTIF(D$1:D1,A$2:A$20),0),0)),"")
E2=SUMIF($A$2:$A$20,D2,$B$2:$B$20)
 
Upvote 0
It worked perfectly. One more question if you do not mind. I am using Excel 2016 and I cannot used more than 6 isnumbersearch functions. Is there a different function that would support more than 6? Please let me know,

Thank you for you time.
 
Upvote 0
Depends on what you are trying to do. I suggest you start a new thread giving some details.
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,967
Messages
6,175,667
Members
452,666
Latest member
AllexDee

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