Hello guys.
I am trying to create a macro to calculate the covariance between the benchmark and the Stock 1, then Benchmark and Stock 2....
Visual example:
Pearson Tool that calculates the covariance:
At the end, there would be a new column with all the covariance that was previously calculated
Is is possible to create a macro for this? I have 2500 stocks so it would be impossible to flag each box individually.
Any input is appreciated!! Thanks 🙂
Solved! Go to Solution.
Christina, thank you so much!
That's an awesome solution!!