Summarize a years earning forecast based on weights

Karlbirger

Board Regular
Joined
Sep 21, 2011
Messages
68
Hi

I have a formula that summarize a specific years forecasted earnings for each month, based on if the earning i committed (Yes) or not committed (No) and year.

Code:
=SUMPRODUCT(--(ECONOMIC!$H$6:$H$1000="Yes");--(YEAR(ECONOMIC!$I$6:$I$1000)=2011);ECONOMIC!J6:J1000)

This formula sums up the values for January (Column J) that corresponds to Committed "yes" (column H), year "2011" (column I).

I have a certain weight (percentage) in column AK which I want to weight for each value in each row in column J (in other words - I want to weight the forecasted earning for each month per row).

If column H=Yes and column I=2011, then multiply that row's value with the weight in that row in column AK then sum up all the values from all rows.


Thanks in advance
KB
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,215,694
Messages
6,126,252
Members
449,305
Latest member
Dalyb2

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