averaging different cells from specified categories

bob hanle

New Member
Joined
Mar 17, 2014
Messages
18
I want to average cells in different columns which meet a minimum criteria, i.e. > 2.0, from specified categories list in the first column. Example: I want to select a category listed in column A and average the numbers listed in columns C and F for that category which meet a minimum threshold. Thanks
 
Would you elaborate a bit in full extenso? Perhaps using a small sample...

I have the following columns of data: I want to calculate a weighted average for the data in "WR% Profit" columns based on the number of trades in the "total trades" columns. The copy and paste data below didn't turn out quite lined up but I hope you can get the idea of what I want to do. Thanks
NetTotal WR%ProfitNetTotalWR%ProfitNet Total WR%Profit
ProfitTrades ProfitFactorProfitTradesProfitFactorProfit Trades ProfitFactor
2,170.00 308 62.66 0.955,150.00 65 46.15 0.50 3,670.00 4276.19 2.13
175.00295 64.41 1.00590.00 7357.530.972,045.002751.850.61
105.0031963.64 1.008,885.00 6870.591.924,335.004348.840.52
5,395.0030963.110.894,405.007653.950.783,150.003278.13

<tbody>
</tbody><colgroup><col><col><col><col><col><col><col><col><col><col><col span="2"></colgroup>
 
Upvote 0

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
I have the following columns of data: I want to calculate a weighted average for the data in "WR% Profit" columns based on the number of trades in the "total trades" columns. The copy and paste data below didn't turn out quite lined up but I hope you can get the idea of what I want to do. Thanks
NetTotal WR%ProfitNetTotalWR%ProfitNet Total WR%Profit
ProfitTrades ProfitFactorProfitTradesProfitFactorProfit Trades ProfitFactor
2,170.00308 62.66 0.955,150.00 65 46.15 0.50 3,670.004276.192.13
175.0029564.41 1.00590.00 7357.530.972,045.002751.850.61
105.0031963.64 1.008,885.00 6870.591.924,335.004348.840.52
5,395.0030963.110.894,405.00 7653.950.783,150.003278.13

<tbody>
</tbody>
 
Upvote 0
I have the following columns of data: I want to calculate a weighted average for the data in "WR% Profit" columns based on the number of trades in the "total trades" columns. The copy and paste data below didn't turn out quite lined up but I hope you can get the idea of what I want to do. Thanks
NetTotal WR%ProfitNetTotalWR%ProfitNet Total WR%Profit
ProfitTrades ProfitFactorProfitTradesProfitFactorProfit Trades ProfitFactor
2,170.00308 62.66
0.955,150.00 65 46.15 0.50 3,670.004276.192.13
175.0029564.41 1.00590.00 7357.530.972,045.002751.850.61
105.0031963.64 1.008,885.006870.591.924,335.004348.840.52
5,395.0030963.110.894,405.007653.950.783,150.003278.13

<tbody>
</tbody>

How would 62.66 be calculated manually?
 
Upvote 0
All the numbers in the spread sheet are absolute values, the values are not based on formulas in the cell. Thanx
 
Upvote 0
All the numbers in the spread sheet are absolute values, the values are not based on formulas in the cell. Thanx

Can you give a manual example of such an average from the exhibit?

Ordinarily, we would have:

=SUMPRODUCT(values,frequencies)/SUM(frequencies)
 
Upvote 0
Can you give a manual example of such an average from the exhibit?

Ordinarily, we would have:

=SUMPRODUCT(values,frequencies)/SUM(frequencies)

Here is a simple example:
Total
TradesWR%
29564.41
7357.53
63.04522



<colgroup><col width="64" style="width: 48pt;" span="2">
<tbody>


</tbody>
So based on the "total trades" I determined that the weighted average of the WR% is 63.05. Does htis help?
 
Upvote 0
Here is a simple example:
Total
TradesWR%
29564.41
7357.53
63.04522

<tbody>
</tbody>
So based on the "total trades" I determined that the weighted average of the WR% is 63.05. Does htis help?

Right...

=SUMPRODUCT(A2:A3,B2:B3)/SUM(A2:A3)

where A2:A3 consists of trade counts.
 
Upvote 0
An added observation: And I need calculate the number from across different columns of "total trades" and "WR%" not necessarily from the same column as in the example just sent to you.
 
Upvote 0
So the question is: Can I write a "sumproduct" formula that utilizes the data in Row 2 for "total trades" data in the separate columns of B, F, & J for a weighted average in the same row "for WR%" columns C, G, & K?
 
Upvote 0

Forum statistics

Threads
1,215,588
Messages
6,125,691
Members
449,250
Latest member
azur3

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