Quickest Way to Apply SumProduct to Hundreds of Cells With Different Criteria?

Coachcasa

New Member
Joined
Feb 1, 2021
Messages
34
Office Version
  1. 2016
Platform
  1. MacOS
Hi. I am trying to use the sumproduct formula, but I need to apply it to about 300 cells and each cell has different criteria. I don't want to have to go cell by cell to put each criterion in and am wondering if there is a faster/better way to do this? To explain this further in column A I have a list of names. In column D I have a list of these same names, but they can be reoccurring names and the names can appear up to 4 different times in that list. In column E, I have a point total that goes with each name in column D. In Column B, I want to use a sumproduct formula for each cell next to the names in column A to look up and add up the points that occur with their names in Column C and D. Here is an example of what I'm talking about:

All-Time Career TotalsScoreAll-Time Season BestScore
EricaSumProduct Formula All of Erica's scoresErica24
SamSumProduct Formula All of Sam's scoresSam23
CarolynSumProduct Formula All of Carolyn's scoresCarolyn23
LizSumProduct Formula All of Liz's scoresLiz23
KaitlynSumProduct Formula All of Kaitlyn's scoresKaitlyn23
Erica20
Sam19
Sam19
Liz19

Since I have to change the name in the criteria of each SumProduct formula in column B, it's going to take a long time and be very tedious to go down a list of 300 formulas in column B and make the changes. Is there a good way to do this or am I stuck going cell by cell for each formula? Perhaps there is a better formula for me to be using? In Column A I only want each name once and I want to total all of their instances from columns C and D and then I plan to sort columns A and B from greatest to smallest. I hope I explained this so it makes sense. Thanks for your help.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Extend the C & D column ranges to cover all the 300 rows.
Book1
ABCDE
1All-Time Career TotalsScoreAll-Time Season BestScore
2Erica44Erica24
3Sam61Sam23
4Carolyn23Carolyn23
5Liz42Liz23
6Kaitlyn23Kaitlyn23
7Erica20
8Sam19
9Sam19
10Liz19
Sheet1
Cell Formulas
RangeFormula
B2:B6B2=SUMPRODUCT(($D$2:$D$10=$A2)*($E$2:$E$10))
 
Upvote 0
Extend the C & D column ranges to cover all the 300 rows.
Book1
ABCDE
1All-Time Career TotalsScoreAll-Time Season BestScore
2Erica44Erica24
3Sam61Sam23
4Carolyn23Carolyn23
5Liz42Liz23
6Kaitlyn23Kaitlyn23
7Erica20
8Sam19
9Sam19
10Liz19
Sheet1
Cell Formulas
RangeFormula
B2:B6B2=SUMPRODUCT(($D$2:$D$10=$A2)*($E$2:$E$10))

Thank you!!!! That works perfect!
 
Upvote 0

Forum statistics

Threads
1,224,737
Messages
6,180,653
Members
452,992
Latest member
TokugawaIesuma

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