VARA function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 13:35, 2 February 2024 by DiGro (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Returns the sample variance (allowing text and logical values).


VARA(number1; number2; ... number30)

number1 to number30 are up to 30 numbers or ranges containing numbers. Logical values and text may also be included.
VARA returns the standard deviation where number1 to number30 are a sample of the entire population.
Logical values are regarded as 1 (TRUE) and 0 (FALSE).
Text values are always regarded as zero.
With N values in the sample, the calculation formula is:
Calc sample var formula.png.


VARA(2; 6; 4)

returns 4.


where cells B1, B2, B3 contain red, TRUE, and 2 returns 1, the variance of 0, 1 and 2.


  • Calc always evaluates text values as 0. The international standard ODFF optionally allows numerical text to be converted to number form. Portability between ODFF compliant spreadsheets may therefore be an issue.

See Also
Retrieved from ""
Personal tools