The Excel DEVSQ function returns the sum of the squared deviations from the mean for a given set of data.
Get sum of squared deviations
=DEVSQ (number1, [number2], ...)
number1 - First value or reference.
number2 - [optional] Second value or reference.
The Excel DEVSQ function calculates the sum of the squared deviations from the mean for a given set of data.
Variance and standard deviation functions deal with negative deviations by squaring deviations before they are averaged. DEVSQ calculates the sum of the squared deviations from the mean, without dividing by N or by N-1.
The Excel AVERAGE function calculates the average (arithmetic mean) of supplied numbers. AVERAGE can handle up to 255 individual arguments, which can include numbers, cell references, ranges, arrays, and constants.
The Excel VAR function estimates the variance of a sample of data. If data represents the entire population, use the VARP function or the newer VAR.P function. VAR ignores text values and logicals in references.