Calculates the variance based on a sample of data.
Hàm này hoạt động trong Google Sheets giống như trong Excel — cùng cú pháp và đối số.
VAR(number1, [number2], …)The VAR function estimates variance based on a sample of a population. It ignores logical values and text contained in references, focusing only on numeric data points.
=VAR(10, 12, 23, 23, 16, 23, 21, 16)Kết quả: 28.57143
Calculates the sample variance of the provided set of numbers.
VAR calculates variance based on a sample, while VARP calculates variance based on the entire population.