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.
Excel shows 0.584454485
A
F
1
2
1
2
4
2
3
4
3
4
4
4
5
5
5
6
5
7
7
8
9
Data
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.
| Formula | Excel shows | Case |
|---|---|---|
=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.
A
B
C
F
J
1
2
10
1
1
3
2
4
20
2
2
3
3
4
TRUE
=NA()
3
3
4
4
4
4
3
5
5
abc
5
5
3
6
5
30
7
7
FALSE
8
9
40
Data
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 .