# How to Use Excel VAR.S Function?

Excel VAR.S Function: Microsoft Excel is a powerful data visualization and analysis program used all around the world. It uses spreadsheets to store, organize, or perform operations with formulas and functions. If you want to find out the variance of a sample in the worksheet, we suggest you use the Excel VAR.S function.

In this tutorial, we will guide you to learn Excel VAR.S Function with its syntax, description, and examples. Get an official version of MS Excel from the following link:

https://www.microsoft.com/en-in/microsoft-365/excel

## Description of VAR.S Function

• It is one of the built-in functions in Microsoft Excel.
• This function calculates the variance based on a given sample.
• VAR.S Function will ignore the text and logical values in Excel.
• It can be manually calculated by using the below-given formula.

## Syntax

• Here, you will see the syntax of the VAR.S function.
• To apply this function on your spreadsheet, you have to select a cell and enter the formula in the following format.
• Once you enter the formula, just click on the button to get the result.

=VAR.S(number1, [number2], …)

Parameters Description:

• Number1 – It is the first input number or cell reference.
• Number2 – It is an optional one. It can be a number or cell reference.

Note:
1) The arguments can be Numbers, Names, Arrays, or References.
2) This function ignores Empty cells, Boolean values (TRUE or FALSE), and Text, any Non-numerical values.

The following table explains that the list of functions will consider the text and logical value, but will not consider the text and logical values.

## Examples

Let’s see some examples to understand how VAR.S Function will work.

• Initially, you have to open your Excel workbook on your PC and launch a worksheet that has data.
• For example, we have given a range of input values in B2:B10 and we will get the variance of the given samples using the VAR.S function.
• Then, we have to apply the above-mentioned formula to get the result, as shown in the following screenshot.
• Finally, we need to click on the button to get the result.

Here, we have shown how to find the variance using a formula.

## Input Empty Cells & Boolean Values

• This function ignores Empty cells, Boolean values (TRUE or FALSE), and Text, any Non-numerical values.