Practice free

F.TEST function

F.TEST returns the two-tailed p-value for the hypothesis that two samples have equal variances. A small result suggests their spread really differs, and each sample needs at least two numbers.

Example

Read it as a sentence: compare how spread out the numbers in A1:A8 are with the numbers in F1:F5 and give the probability that their variances are not really different.

Practice this in the app

Syntax

F.TEST(array1, array2)

array1 (required)
First data set.
array2 (required)
Second data set.

Returns: The two-tailed p-value for the hypothesis that the two variances are equal.

What Excel actually returns

Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.

FormulaExcel showsCase
=F.TEST({2,4,7,9,12},{3,4,5,6,7}) 0.10284366 Array constants
=F.TEST(Data!A1:A8,Data!F1:F5) 0.584454485 Ranges
=F.TEST(Data!B1:B8,Data!F1:F5) 0.000880239 Text ignored in range
=F.TEST({1},{2,3}) #DIV/0! Single value array
=F.TEST(Data!J1:J5,Data!F1:F5) #DIV/0! Zero variance
=F.TEST(Data!C1:C5,Data!F1:F5) #N/A #N/A in range

The Data sheet these formulas read

A cell that starts with = holds that formula.

Watch out for

  • Each array needs at least two numbers.
  • Sensitive to non-normal data.

Where it works

Excel
F.TEST arrived in Excel 2010. Older versions do not have it.
Google Sheets
Same name, same behaviour for everyday use.

Part of Statistical functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .