VARP Function
Population variance (n) of a set of numbers.
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| number1 | The first number, range, or reference in the population. | Required |
| number2 | Additional numbers, ranges, or references (optional, up to 255 total arguments). | Optional |
Basic Example
Population variance of five values
=VARP(10,20,30,40,50)The mean is 30; the sum of squared deviations is 1000, divided by 5 gives a population variance of 200.
Advanced Examples
Example 1: Population from a range
Full census of a small groupCompute the variance of every value in B2:B6
=VARP(B2:B6)Example 2: Population vs sample
Comparing denominatorsSame data, two different denominators
=VARP(10,20,30,40,50) and =VAR(10,20,30,40,50)How VARP Works
VARP computes the population variance as the sum of squared deviations from the mean divided by n. Using n (not n-1) is correct only when the supplied data is the complete population; for a sample, VAR's n-1 correction is appropriate. Text and logical values in references are ignored.
Important Notes & Limitations
Only valid when the data is the entire population; using it on a sample underestimates the true variance.
Ignores text and logical values inside ranged references.
Requires at least one numeric value, otherwise returns #DIV/0!.
Common Errors & Fixes
#DIV/0!No numeric values were supplied.Fix: Provide at least one data point.
Result too smallData was actually a sample but n was used.Fix: Use VAR (or VAR.S) for a sample.
Download Practice File
VARP
varpPractice VARP with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the VARP function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps