XcelLearner
Board Regular
- Joined
- Feb 6, 2016
- Messages
- 52
- Office Version
- 365
- 2016
- Platform
- Windows
I have a portfolio with hundred of stocks, but for simplicity, let's say I have three stocks, with their respective PERs and market caps:
[TABLE="width: 318"]
<tbody>[TR]
[TD][/TD]
[TD]PER[/TD]
[TD]Market Cap[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]150[/TD]
[/TR]
[TR]
[TD]DEF[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]101[/TD]
[/TR]
[TR]
[TD]XYZ[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]80[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Market-cap-weighted average[/TD]
[TD="align: right"]12.99x[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Formula[/TD]
[TD]?[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I would like to take a market-cap-weighted PER for the entire portfolio, and the formula would be "SUMPRODUCT(B2:B5,C2:C5)/SUM(C2:C5)".
Suddenly, I want to have a market-cap-weighted PER for a portfolio of stocks with their market caps larger than 100. The result should be 12.99. However, I don't know how to revise the formula with condition of market cap >100.
Could you please help? Thank you very much.
[TABLE="width: 318"]
<tbody>[TR]
[TD][/TD]
[TD]PER[/TD]
[TD]Market Cap[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]150[/TD]
[/TR]
[TR]
[TD]DEF[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]101[/TD]
[/TR]
[TR]
[TD]XYZ[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]80[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Market-cap-weighted average[/TD]
[TD="align: right"]12.99x[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Formula[/TD]
[TD]?[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I would like to take a market-cap-weighted PER for the entire portfolio, and the formula would be "SUMPRODUCT(B2:B5,C2:C5)/SUM(C2:C5)".
Suddenly, I want to have a market-cap-weighted PER for a portfolio of stocks with their market caps larger than 100. The result should be 12.99. However, I don't know how to revise the formula with condition of market cap >100.
Could you please help? Thank you very much.