Excel VAR function
The VAR function calculates the variance based on a given sample..
VAR function vs. VAR.S function:
Starting from Excel 2010, the VAR function has been replaced by the VAR.S function. Although they can both be used to estimate the variance based on a given sample, the VAR.S function is more recommended for future use, because the VAR function may not be available in future versions of Excel.
Excel variance functions
The following table lists all Excel variance functions and their usage notes, which can help you choose the one that best suits your needs.
Name | Data type | Text and logicals in references |
VAR | Sample | Ignored |
VAR.S | Sample | Ignored |
VARA | Sample | Evaluated |
VARP | Population | Ignore |
VAR.P | Population | Ignored |
VARPA | Population | Evaluated |
Syntax
VAR(number1, [number2], ...)
Arguments
- Number1 (required): The first sample number used in the calculation;
- Number2, ... (required): The second and more sample numbers used in the calculation.
Remarks
Return value
It returns a numeric value.
Example
The following table is a sample of scores. To estimate the variance based on it, you can do as follows.
Select a cell (says F6 in this case), enter the formula below and press the Enter key to get the result.
=VAR(C6:C13)
Note: The argument in the formula above is supplied as a cell range. However, you can change the formula as follows:
=VAR(C6,C7,C8,C9,C10,C11,C12,C13)
=VAR({80;95;100;73;60;90;85;68})
=VAR(80,95,100,73,60,90,85,68)
Related Functions
Excel VAR.P function
The VAR.P function calculates the variance based on the entire population.
Excel VAR.S function
The VAR.S function calculates the variance based on a given sample.
Excel VARA function
The VARA function calculates the variance based on a given sample.
Excel VARP function
The VARP function calculates the variance based on the entire population.
Excel VARPA function
The VARPA function calculates the variance based on the entire population.
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...
Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)
- One second to switch between dozens of open documents!
- Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
- Increases your productivity by 50% when viewing and editing multiple documents.
- Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.