Skip to main content
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
Show menu Show menu

VTESTNORM function


VTESTNORM(normalitytest,variable[,filter]) returns the P-value of a test for normal distribution on a variable. An optional filter can be specified.

Normalitytest may be

  • KOLSMIR for the Kolmogorov-Smirnov test
  • SHAPWILK for the Shapiro-Wilk test
  • SHAPFRANC for Shapiro-Francia test
  • DAGPEAR for the D'Agostino-Pearson test

See Tests for normal distribution for details.


VTESTNORM(SHAPWILK,bmi) returns the P-value for the Shapiro-Wilk test on the variable bmi.


This function calculates a statistic on a variable. Be careful when you use this function in cells of the columns that correspond to the variable, because this actually adds a value to the variable which can lead to unexpected and faulty results. You can exclude the cell to avoid this.

Related functions