T.TEST in Collabora Office: Compare Samples with an Explicit t-Test Design
Use Collabora T.TEST with paired, equal-variance or Welch designs and understand the magnitude-based one-tail result. Includes TTEST syntax, worked checks, and Collabora-specific limits.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: with 12, 15, 14, 10, 13 in A2:A6 and 10, 11, 13, 9, 12 in B2:B6, =T.TEST(A2:A6;B2:B6;2;1) has independently expected paired, two-sided probability approximately 0.036681989.
Syntax and design selection
=T.TEST(Data1; Data2; Mode; Type)
Data1 and Data2 are the two numeric data ranges. Mode=1 requests the one-tail result; Mode=2 requests two tails. Type=1 is paired, Type=2 independent samples with equal variance, and Type=3 independent samples with unequal variance. All four arguments are required.
These Type settings describe different sampling designs and variance assumptions. Choosing the smallest resulting probability is not a legitimate way to select the test. Pairing requires meaningful row-by-row matches, not merely equally long lists.
The dedicated Collabora documentation identifies the modes and types. Current source uses an absolute t statistic before applying its tail calculation. Consequently Mode=1 returns the smaller magnitude-based tail; swapping the two samples does not encode a chosen directional alternative.
Example 1: reproduce a paired calculation
Use the five paired rows from the quick answer. In C2 enter =A2-B2 and fill down. Differences are 2, 4, 1, 1 and 1. Their mean is 1.8, sample variance 1.7, and sample standard deviation approximately 1.303840481.
The independent statistic is 1.8/SQRT(1.7/5), approximately 3.086974533, with 4 degrees of freedom. Applying the two-tail t probability gives approximately 0.036681989.
The paired calculation uses variation in the differences. It does not pool the two original columns’ variances as though the observations were independent.
Example 2: compare independent-sample designs transparently
For the same numerical columns considered as an alternative independent-sample illustration, means are 12.8 and 11, and sample variances 3.7 and 2.5.
=T.TEST(A2:A6;B2:B6;2;2) has independent equal-variance target approximately 0.144659850. Its statistic is approximately 1.616447718 with eight degrees of freedom.
=T.TEST(A2:A6;B2:B6;2;3) has independent Welch target approximately 0.146072493. Here the statistic happens to be the same because the sample sizes are equal, but Welch’s effective degrees are approximately 7.711133400. The differing probabilities illustrate the designs; they do not justify reclassifying genuinely paired data.
Advanced application: audit the one-tail convention
For the paired dataset, Mode=1 has independent target approximately 0.018340995, half of the Mode=2 result. Reversing A and B changes the mean difference’s sign but leaves this magnitude-based output unchanged in the corroborating source.
A prespecified directional alternative must account for whether the observed effect is in that direction. Do not label the smaller tail a directional p-value without checking the sign and intended hypothesis. Keep the signed mean difference and the sample ordering visible beside the probability.
Advanced application: retain paired rows during cleanup
For Type=1, the current source requires the two matrices to have the same dimensions and iterates numeric pairs. A missing observation should not be repaired by shifting one column upward independently, because that creates different pairings.
For Types 2 and 3, the helper skips string/empty entries separately and requires at least two usable numeric observations in each sample. Use complete numeric ranges in reproducible examples, and audit missing-data handling before analyzing real observations. These source paths do not certify every error-cell or Boolean conversion.
Errors and troubleshooting
Mode and Type are approximately floored in the source; explicitly supply integer options rather than relying on this conversion. Unsupported options follow an illegal-argument path. A paired sample with zero variance in differences reaches a division-by-zero path; a probability cannot be recovered merely by replacing that error with zero.
T.TEST returns a probability, not an effect size, practical-importance measure or proof of a hypothesis. Small samples, dependence, outliers and the relevant distributional assumptions require separate evaluation. No native test or complete error-display inventory is claimed.
Availability and evidence
The exact function is documented in Collabora Office 26.04 desktop help. That documentation snapshot was retrieved on 2026-10-13 and hash-verified on October 15, 2026. It does not establish Online or mobile support. First introduction and last functioning release are unknown in this evidence.
Additional implementation statements come from Collabora’s current engine source, retrieved October 15, 2026. This moving-main source is corroboration, not a pinned desktop 26.04 binary or a native execution. No native Collabora Office run occurred. Worked outputs are independent mathematical expectations.
Formulas use English names and semicolon separators. The help identifies namespace COM.MICROSOFT.T.TEST, outside its cited OpenFormula 1.3 standard; that does not establish identical behavior in another application.
References
TTEST: documented Collabora spelling and complete contract
Collabora’s dedicated Help documents TTEST. In the Collabora Office 26.04 source snapshot, this spelling and T.TEST use the same evaluator and identical argument metadata. The coverage here is for that verified family, not a general promise about other spreadsheet products.
TTEST syntax and arguments
=TTEST(Data1; Data2; Mode; Type)
Data1 and Data2 are data ranges. Mode=1 requests one tail and Mode=2 two tails. Type=1 is paired, Type=2 is independent samples with equal variances, and Type=3 is independent samples with unequal variances (Welch). All four arguments are required. Choose Type from the study design rather than selecting whichever gives the smallest p-value.
Independent TTEST worked checks
Enter 2, 4, 6 in A2:A4 and 1, 2, 3 in B2:B4. =TTEST(A2:A4;B2:B4;2;1) independently targets 0.07417990022744858. Paired differences are 1, 2, 3, with mean 2 and sample variance 1: t=2*SQRT(3), df=2. The df=2 two-tail formula is 1-t/SQRT(t^2+2). =TTEST(A2:A4;B2:B4;1;1) targets 0.03708995011372429, half the two-tail result. Retain the same pair ordering in both columns.
The stated results are independently calculated mathematical expectations, not values observed in Collabora. Use semicolons as shown for the documented syntax; a configured locale may require different separators.
TTEST boundaries and error conditions
The pinned evaluator approximately floors Mode and Type, then requires Mode 1 or 2 and Type 1, 2 or 3. Paired ranges must have identical dimensions; pairs with a string or empty member are omitted. No usable pairs take the NoValue path; a zero paired-difference variance takes DivisionByZero. For independent types, each range is scanned separately, strings/empties are skipped, and each sample needs at least two numeric values. Welch with zero total variance takes NoValue. These are source branches, not native error observations; use nondegenerate numeric data. Error names in this section identify implementation branches, not verified on-screen labels.
Choosing the correct family and preserving workbook meaning
TTEST and T.TEST share ScTTest. The pinned calculation uses an absolute t statistic, so its one-tail value does not by itself encode a prespecified directional alternative. Check the observed direction before reporting a one-sided hypothesis test. Do not interpret the returned p-value as the probability that the means are equal.
Evidence and version limits for TTEST
Reviewed 2026-10-19 using Collabora’s dedicated TTEST Help archived on 2026-10-17, the pinned evaluator, and paired dispatch. The source is Collabora’s co-26.04 branch pinned to c1013fad0d38683630b48c01b6d5208b8d81181e. Fresh Help access on 2026-10-19 was unsuccessful, so the archived page is not described as newly retrieved. No Collabora desktop, Online or mobile execution was performed. First introduction, last functioning build, deployment-specific support, array-entry behavior and cross-format round trips are not established by this check.