What function returns the variance of a population?

totn Excel Functions

MS Excel: How to use the VARP Function (WS)

This Excel tutorial explains how to use the Excel VARP function with syntax and examples.


The Microsoft Excel VARP function returns the variance of a population based on an entire population of numbers.

The VARP function is a built-in function in Excel that is categorized as a Statistical Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the VARP function can be entered as part of a formula in a cell of a worksheet.


The syntax for the VARP function in Microsoft Excel is:

VARP( number1, number2, ... number_n )

Parameters or Arguments

number1The first population number used in the calculation.number2, ... number_nOptional. Additional population numbers used in the calculation. There can be up to 30 numbers entered.


The VARP function returns a numeric value.

Applies To

  • Excel for Office 365, Excel 2019, Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Function

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel VARP function examples and explore how to use the VARP function as a worksheet function in Microsoft Excel:

Microsoft Excel

Based on the Excel spreadsheet above, the following VARP examples would return:

=VARP(C2, C3, C4, C5) Result: 2.71335 =VARP(D2, D3, D4) Result: 61.19468889 =VARP(34.5, 2, 8.9, -4) Result: 215.2425