I am trying to generate Pearson's Correlation Matrix; and subsequently Spearman's.
When I use the Excel's in-built Correl function, I get the output. But, when I use my custom function for correl, I get a VALUE# error. That is, if I replace "Application.WorksheetFunction.Correl" with...