Summing a product with selection Criteria

cjbirm

New Member
Joined
Mar 29, 2019
Messages
2
I'm trying to make a table that will sum a the product of a value and probability based on a criteria value in another column. The table below is an example of what I'm trying to do:

CriteriaProb2019202020212022
X100%411075150
X90%242424
Y65%53160
X70%25
X70%

<tbody>
</tbody>

2019202020212022
X4149.196.6171.6
Y034.451040

<tbody>
</tbody>

Instead of just hard-coding the SUM and Product function in the bottom table, I would like to use equations so I can just add more rows or columns to the top table and have the bottom table automatically update. If tried playing around with the PRODUCT, IF, and SUMIF equations, but I can't seem to get any of them to work.

Any suggestions?
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
You'll want to know about SUMPRODUCT:
=SUMPRODUCT(( $A$3:$A$7 = $A10) * ( $B$3:$B$7) * ( C$3:C$7))

Enter the formula in the bottom table for X for 2019 and copy throughout the table.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,255
Members
449,075
Latest member
staticfluids

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