Last active
June 2, 2018 18:15
-
-
Save summerofgeorge/43237a0c266c4fed98d6ce3e762749ec to your computer and use it in GitHub Desktop.
SkewKurtose VBA Part 2
This file contains hidden or 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
| Public NoBlank As Long | |
| Public Skewn As Double | |
| Public Kurtos As Double | |
| Public Stdev As Double | |
| Public rng As Range | |
| Public iAreaCount As Integer | |
| Sub Extras() | |
| If WorksheetFunction.Count(rng) < 5 Then | |
| NoBlank = Application.WorksheetFunction.CountBlank(rng) | |
| Application.StatusBar = "Blanks: " & NoBlank | |
| Else: Application.DisplayStatusBar = True | |
| NoBlank = Application.WorksheetFunction.CountBlank(rng) | |
| Kurtos = Round(Application.WorksheetFunction.Kurt(rng), 2) | |
| Skewn = Round(Application.WorksheetFunction.Skew(rng), 2) | |
| Stdev = Round(Application.WorksheetFunction.Stdev(rng), 2) | |
| Application.StatusBar = "Blanks: " & NoBlank & ", Skewn: " & Skewn & ", Kurtos: " & Kurtos & ", Std: " & Stdev | |
| End If | |
| End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment