Formulas > =DVAR()

How to Use DVAR() in Google Sheets

Description

Returns the variance of a population sample selected from a database table-like array or range using a SQL-like query.

How To Actually Use DVAR() in Sheets

DVAR(database, field, criteria)

Try DVAR yourself

Use the DVAR function to calculate the variance of the 'Sales' field in the range A1:C10, where the 'Region' is 'North'. The result should be placed in cell D1.

Hints (3)

Looking for a video tutorial? Members can email me anytime! Check out the blogs below for more info on this formula. Or generate your formula. Find more formulas here at BetterSheets.co/formulas

Transcript-matched member videos for DVAR(). Click through to watch.

Browse more tutorials
Hardest Formula: SumIF | Addition Based on Dates / Values

Hardest Formula: SumIF | Addition Based on Dates / Values

Demystifying the SumIF Formula. Add up your values based on a condition,...
What is this Ampersand Doing in Google Sheets?

What is this Ampersand Doing in Google Sheets?

What is "&" doing in this formula? MONTH(A1&1) Do you know why this is s...
Embed a Number in a Website from a Google Sheet

Embed a Number in a Website from a Google Sheet

Ever wanted to display some data from a google sheet on your site? Witho...
Write Apps Script to Create a New Google Sheets Formula

Write Apps Script to Create a New Google Sheets Formula

Create a brand new custom formula in Apps Script. We'll do this for our ...

Learn more about the DVAR() formula:

Generate a DVAR() formula for your needs

Describe your task in plain English and get a paste-ready formula that uses DVAR(). 2 free AI generations, no signup. Members get unlimited use.

Generate a DVAR() formula