# CONFIDENCE.T

## Content

This function returns the confidence interval for a population mean.

## Syntax

`CONFIDENCE.T(alpha, stdev, size)`

## Arguments

This function has these arguments:

| Argument | Description |
| -------- | ----------- |
| *alpha* | [Required] Alpha, significance level used in calculating confidence level, where the confidence level is 100 times (1-*alpha*)% |
| *stdev* | [Required] Population standard deviation for the range |
| *size* | [Required] Number representing the size of the sample; if not an integer, the number is truncated |

## Remarks

The function uses a Student's t distribution. If *size*  = 1, the function returns a #DIV/0! error value.
If any argument is non-numeric, the function returns the #VALUE! error value.

## Examples

`CONFIDENCE.T(0.5,B4,D5)`
`CONFIDENCE.T(0.5,R4C2,R5C4)`