Weighted Average for Non-Contiguous Data

zafega

New Member
Joined
Apr 10, 2019
Messages
8
Good Morning,

I am trying to get a weighted average of data that is not contiguous
I am using this formula: =SUMPRODUCT(BL117:BL134,BJ117:BJ134)/SUM(BJ117:BJ134)
The data I need to be included in the formula is just the "ut" one, excluding the "m" ones.
Columns are BJ, BK, BL and rows from 117 to 134.
Any help is very much appreciated.

Best regards,

Federico

[TABLE="width: 447"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]75[/TD]
[TD]ut[/TD]
[TD]8,205[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]646[/TD]
[TD]m[/TD]
[TD]4,367[/TD]
[/TR]
[TR]
[TD]174[/TD]
[TD]m[/TD]
[TD]5,590[/TD]
[/TR]
[TR]
[TD]26[/TD]
[TD]ut[/TD]
[TD]7,900[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]ut[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]ut[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]ut[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]ut[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]ut[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]ut[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]ut[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]ut[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]ut[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]ut[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]177[/TD]
[TD]ut[/TD]
[TD]85,000[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Excel Workbook
BJBKBLBMBN
11775ut8,20557071.13309
118
119646m4,367
120174m5,590
12126ut7,900
122
1230ut0
1240ut0
1250ut0
126
1270ut0
1280ut0
1290ut0
1300ut0
1310ut0
1320ut0
1330ut0
134177ut85,000
Sheet4
 
Upvote 0

Forum statistics

Threads
1,224,810
Messages
6,181,079
Members
453,021
Latest member
Justyna P

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