VARA performs variance calculations based on a sample, including both logical and textual values within Excel. This function is also among the statistical functions widely favored in Excel.
Exploring Excel's VARA Function
Using VARA Function in Excel
1. Description and Syntax
This function computes variance based on a sample, including both logical and textual values.
The syntax for this function is:
Unlocking the Power of VARA Function
Where:
- VARA(Value1, [Value2], ...: Arguments in the population to compute variance, where Value1 is a required argument, and subsequent arguments are optional and can contain up to 254 value arguments.
Note:
- The VARA function assumes its arguments are a sample of the population.
- Arguments can be numbers, names, or array references containing numbers.
- If the argument is an array or reference, only values in that array are used.
- When directly typing logical values and presenting numbers in text form into the function's arguments, these values are still calculated.
- The value TRUE defaults to 1, and the value FALSE defaults to 0.
- The function returns an error if the arguments are text or error values that cannot be converted.
- If you do not want to compute logical and text values, you can use the VAR function.
- The formula for calculating the VARA function is:
Where:
+ x is the sample mean AVERAGE(number1,number2,...)
+ n is the sample size.
2. Concrete Scenario Examples
Imagine you need to calculate variance based on a sample of values in the data table below:
Step 1: In the cell where you want to calculate -> input the formula: =VARA(B3:B9)
Step 2: Press Enter -> the result of the sample variance for the number values is:
Here, logical values are computed corresponding to their default values.
- In case the value is text or logical -> the function still computes and returns the result:
- If the arguments are text or error values that cannot be converted -> the function returns an error as shown below:
Above is a detailed guide on how to use VARA Function in Excel, which calculates variance based on a sample, including both logical and textual values. Essentially, this function isn't too difficult, is it? Remember the syntax of this function for future application! Wish you success.
HLookup function is a crucial data lookup function that all Excel users need to understand and grasp how to use. Let's delve deeper into the syntax and usage of the HLookup function with Mytour.
