Practice free

FTEST function

FTEST returns the two-tailed probability that two samples have similar variances, as a p-value. It still works, but F.TEST supersedes it, so use that in new workbooks.

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

FTEST(array1, array2)

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

Returns: Two-tailed probability that the two variances are not meaningfully different.

What Excel actually returns

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

FormulaExcel showsCase
=FTEST({2,4,7,9,12},{3,4,5,6,7}) 0.10284366 Array constants
=FTEST(Data!A1:A8,Data!F1:F5) 0.584454485 Ranges
=FTEST(Data!B1:B8,Data!F1:F5) 0.000880239 Text ignored in range
=FTEST({1},{2,3}) #DIV/0! Single value array
=FTEST(Data!J1:J5,Data!F1:F5) #DIV/0! Zero variance
=FTEST(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

  • Superseded by F.TEST; use that in new workbooks.
  • Each array needs at least two numbers; text and blanks are ignored.

Where it works

Excel
FTEST is in every version of Excel from 2007 on. Compatibility function: still works in every version, but newer replacements exist.
Google Sheets
Same name, same behaviour for everyday use.

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