correlation function in macro

S

Sam

hi there
can anyone help me in this ?

in column A i have dates from jan 1990 till june 2003.
in column B i have data for fund X
in column C i have dta for fund Y

i want the user to be asked to enter start and end date .
and in column D based on that input i need to get the correlation between X and Y.

i can use the correl function in excel to do that.
is there a macro to do this ?

thanks in advance.

sam
email : [email protected]
 
Top