Calculates the variance based on a sample, including numbers, text, and logical values.
Cette fonction fonctionne de la même façon dans Google Sheets que dans Excel — même syntaxe et mêmes arguments.
VARA(value1, [value2], ...)The VARA function estimates variance based on a sample of data. Unlike the VAR.S function, VARA evaluates text and logical values (TRUE/FALSE) within references, treating text as 0 and TRUE as 1.
=VARA(10, "text", TRUE)Résultat : 25
Calculates variance for 10, 0 (text), and 1 (TRUE).
VARA treats text strings as the number 0.