szita2000
Board Regular
- Joined
- Apr 25, 2012
- Messages
- 101
- Office Version
- 365
- Platform
- Windows
Hi guys.
I have a crazy file where weighted average being calculated.
Now, unfortunately it is a file made to a specific format so we couldn't use sumproduct on the two ranges.
Rather the formula looks something like this:
=((O99*$CM$74)+(O108*$CM$77)+(O113*$CM$78)+(O123*$CM$80)+(O128*$CM$82)+(O133*$CM$83)+(O137*$CM$84)+(O179*$CM$89))/SUM($CM$74,$CM$77:$CM$78,$CM$80:$CM$84,$CM$89)
My question is.
How can I exclude the corresponding weight (Column CM) if there is no data for the actual month (Column O above).
(Small clarification needed for the above: The values in column CM are for a whole month, but in some weeks we don't get any KPIs on some of the left hand side ranges (Lines are not running))
My initial reaction was that I can only do this with individual if formulas? (IF there is no KPI then volume = 0) so on so forth...
Am I missing something here?
Thanks
I have a crazy file where weighted average being calculated.
Now, unfortunately it is a file made to a specific format so we couldn't use sumproduct on the two ranges.
Rather the formula looks something like this:
=((O99*$CM$74)+(O108*$CM$77)+(O113*$CM$78)+(O123*$CM$80)+(O128*$CM$82)+(O133*$CM$83)+(O137*$CM$84)+(O179*$CM$89))/SUM($CM$74,$CM$77:$CM$78,$CM$80:$CM$84,$CM$89)
My question is.
How can I exclude the corresponding weight (Column CM) if there is no data for the actual month (Column O above).
(Small clarification needed for the above: The values in column CM are for a whole month, but in some weeks we don't get any KPIs on some of the left hand side ranges (Lines are not running))
My initial reaction was that I can only do this with individual if formulas? (IF there is no KPI then volume = 0) so on so forth...
Am I missing something here?
Thanks