2 Attachment(s)
VBA Function - Portfolio Volatility using Co-variance Matrix
Hi everyone,
I am a newbie in VBA and in this forum and I am in need of your help. :) I am trying to write a code for calculating portfolio volatility using co-variance matrix:
Attachment 13937
The Port_Vol function that I created does not work when I included "Square Root (^0.5)". But if I didn't include Square Root, the function works just fine.
I need to include the Square Root in order to calculate the real value of volatility. Can you help me with this?
Thank you very much beforehand!