June 7th, 2012, 6:48 am
convert price series into series of log returns for each of the N stocks ( you will have N series, each of 249 elements)..suppose A1:A249 has log returns of stock 1 and B1:B249 of stock 2 and so on. Then N by N covariance matrix has these entries(1,1) = COVAR(A1:A249,A1:A249)(2,1) = COVAR(B1:B249,A1:A249)(3,1) = COVAR(C1:C249,A1:A249)learn how to dollar-ize in excel (use of key F4) or write a small vba code to do this.