| 
 Relationship between confidence level c and alpha α for two-tailed tests | 
 1 − c = α |  | 
 | Calculate t-critical for a two-tailed test | 
 tc |  | =TINV(α;df) | 
 | Calculate a t-statistic t | 
 t | 
   | 
 =(x - μ)/(sx/SQRT(n)) | 
 | Calculate a two-tailed p-value from a t-statistic | p-value |  | 
 = TDIST(ABS(t);df;2) | 
 | Calculate a p-value for the difference of the means from two samples of paired samples | 
 =TTEST(data_range_x;data_range_y;2;1) | 
 | Calculate a p-value for the difference of the means from two independent samples, no presumption that σx = σy  | 
 =TTEST(data_range_x;data_range_y;2;3) |