VARA(value1, value2)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
value1:
The first value or range of values that you want to evaluate. This can be a number, text, logical value, or a reference to a cell or range.
value2:
The second value or range of values that you want to evaluate. This can also be a number, text, logical value, or a reference to a cell or range.
The VARA function in Google Sheets is a useful tool that allows you to calculate the variance of a set of values while ignoring any text or logical values. This function is particularly helpful when you want to analyze the spread of numerical data without being affected by non-numeric entries. VARA is a more inclusive version of the VAR function, as it can handle a wider range of data types.
In simpler terms, VARA helps you determine how much the numbers in your dataset vary from the average, providing insights into the consistency or variability of your data.
Imagine you are analyzing the test scores of students in a class, and you have the following data:
| StudentID | Score |
|---|---|
| 1 | 85 |
| 2 | 90 |
| 3 | 78 |
| 4 | 92 |
| 5 | "Absent" |
| 6 | 88 |
| 7 | TRUE |
You want to calculate the variance of the scores while ignoring the non-numeric entries.
To achieve this, you would use the VARA function as follows:
=VARA(B2:B8)In this formula:
B2:B8 is the range containing the scores, including both numeric and non-numeric values.When you apply the VARA formula to the Test Scores Table, the output would be the variance of the numeric scores:
| Variance |
|---|
| 28.57 |
In this case, the VARA function ignores the "Absent" and TRUE entries, calculating the variance based only on the numeric scores.
VARA is beneficial because it allows for a more comprehensive analysis of your data by including text and logical values in the calculation process. This makes it particularly useful in datasets where some entries may not be purely numeric, ensuring that your variance calculation remains accurate and relevant.
VARA is an essential function for anyone working with data in Google Sheets, providing a powerful way to enhance data analysis and reporting capabilities.
Happy spreadsheeting!
You have a sales data table with Column A listing product IDs and Column B showing sales figures. Use the VARA function to calculate the average sales while ignoring any errors in the data, ensuring accurate performance analysis without disruption from faulty entries.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.