Compatibility Excel 2007 (Compatibility) ◉ 20 views

=VARP()

Calculates variance based on the entire population.

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=VARP(number1,[number2],...)
Hover argument names in the table for details.
Output typeNumber
Popularity23 / 100
VolatileNo
Dynamic ArrayNo
Download sample .xlsx ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =VARP() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
Download VARP.xlsx ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
number1 Number/Range Required The first number argument corresponding to a population.
number2 Number/Range Optional ,... Optional. Number arguments 2 to 255 corresponding to a population.

▣ Examples

▦ Data
CellValue
A2 Strength
A3 1345
A4 1301
A5 1368
A6 1322
A7 1310
A8 1370
A9 1318
A10 1350
A11 1303
A12 1299
A13 Strength
A14 1345
A15 1301
A16 1368
A17 1322
A18 1310
A19 1370
A20 1318
A21 1350
A22 1303
A23 1299
Variance of breaking strengths for all the tools, assuming that only 10 tools are produced (entire population). =VARP(A2:A11)
Result: 678.84
This example uses the VAR function, which assumes only a sample of the population, and returns a different result. =VAR(A2:A11)
Result: 754.27

§ Remarks

  • VARP assumes that its arguments are the entire population. If your data represents a sample of the population, then compute the variance by using VAR.
  • Arguments can either be numbers or names, arrays, or references that contain numbers.
  • Logical values, and text representations of numbers that you type directly into the list of arguments are counted.
  • If an argument is an array or reference, only numbers in that array or reference are counted. Empty cells, logical values, text, or error values in the array or reference are ignored.
  • Arguments that are error values or text that cannot be translated into numbers cause errors.
  • If you want to include logical values and text representations of numbers in a reference as part of the calculation, use the VARPA function.
  • The equation for VARP is: where x is the sample mean AVERAGE(number1,number2,…) and n is the sample size.

✦ Tips

  • This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. Although this function is still available for backward compatibility, you should consider using the new functions from now on, because this function may not be available in future versions of Excel.
  • VARP assumes that its arguments are the entire population. If your data represents a sample of the population, then compute the variance by using VAR.
  • Arguments can either be numbers or names, arrays, or references that contain numbers.
  • Logical values, and text representations of numbers that you type directly into the list of arguments are counted.
  • If an argument is an array or reference, only numbers in that array or reference are counted. Empty cells, logical values, text, or error values in the array or reference are ignored.
  • Arguments that are error values or text that cannot be translated into numbers cause errors.
  • If you want to include logical values and text representations of numbers in a reference as part of the calculation, use the VARPA function.
  • The equation for VARP is: where x is the sample mean AVERAGE(number1,number2,…) and n is the sample size.

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.