Created
July 30, 2019 03:35
-
-
Save yuyueugene84/d55005d35d5b5cd918025146b8eb2293 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub CalculateCorr4() | |
Dim corrSheet As Worksheet | |
Set corrSheet = Worksheets("闽┦だ猂") | |
Dim portSheet As Worksheet | |
Set portSheet = Worksheets("щ戈舱厨筍だ猂") | |
Dim corr As Double | |
Dim i As Integer | |
For i = 2 To 13 | |
corr = Application.WorksheetFunction.Correl(portSheet.Range("B2:B95").Value, _ | |
portSheet.Range(portSheet.Cells(2, i), portSheet.Cells(95, i)).Value) | |
Debug.Print corr | |
Next i | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment