VAR

Microsoft Office Excel 2003

See Also

Estimates variance based on a sample.

Syntax

VAR(number1,number2,...)

Number1, number2, ...    are 1 to 30 number arguments corresponding to a sample of a population.

Remarks

  • VAR assumes that its arguments are a sample of the population. If your data represents the entire population, then compute the variance using VARP.
  • Logical values such as TRUE, FALSE, and text are ignored. If logical values and text must not be ignored, use the VARA worksheet function.
  • VAR uses the following formula:

    Formula

    where x is the sample mean AVERAGE(number1,number2,…) and n is the sample size.

Example

Suppose 10 tools stamped from the same machine during a production run are collected as a random sample and measured for breaking strength.

The example may be easier to understand if you copy it to a blank worksheet.

ShowHow?

  1. Create a blank workbook or worksheet.
  2. Select the example in the Help topic. Do not select the row or column headers.

    Selecting an example from Help

    Selecting an example from Help

  3. Press CTRL+C.
  4. In the worksheet, select cell A1, and press CTRL+V.
  5. To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Tools menu, point to Formula Auditing, and then click Formula Auditing Mode.
 
1
2
3
4
5
6
7
8
9
10
11
A
Strength
1345
1301
1368
1322
1310
1370
1318
1350
1303
1299
Formula Description (Result)
=VAR(A2:A11) Variance for the breaking strength of the tools (754.2666667)