How to Find Sum of Squared Deviations in Excel (2 Easy Ways)

Get FREE Advanced Excel Exercises with Solutions!

As financial analysts, we use Excel functions to calculate the sum of squared deviations in evaluating the variation in daily stock values. Moreover, it indicates market instability and increasing investment risks. Also, we use this function to determine temperature variations and blood pressure reading variations, among other things. This article will show you 2 suitable ways to find sum of squared deviations in Excel.


Download Practice Workbook

Download this practice workbook to exercise while reading this article. It contains all the datasets in different spreadsheets for a clear understanding. Try it yourself while you go through the methods.


2 Suitable Ways to Find Sum of Squared Deviations in Excel

Finding the sum of squared derivations serves as a measure of data variance. However, calculating them can be really cumbersome if we take a large dataset. With that in mind, we will try to implement 2 methods to calculate the sum of squared deviations in Excel. To demonstrate, we take a dataset where column B represents the students’ names and column C indicates their respective scores.

how to find sum of squared deviations in excel


Method 1: Find Sum of Squared Deviations Using Mean Average

The first method aims to calculate the sum of squared deviations from the mean using a computational equation in a spreadsheet. The difference between the data values and the mean, squared, makes up the sum of squares. The equation is

Find Sum of Squared Deviations Using Mean Average

Where,

SS = Sum of Squared Deviations

x = Deviations

n = Mean

Based on this equation, we will compute the SS ( sum of squared deviations) using the AVERAGE and SUM functions. Let’s go through 4 steps to implement the methods.


Step 1: Use AVERAGE Function to Find Mean Average

The objective of the first step is to find the arithmetic mean of the given dataset. To do so, we will use the average function as mentioned earlier. The AVERAGE function is categorized under the Statistical functions in Excel. This function returns the average value of a given argument.

  • Firstly, in cell C11, type the following formula.

=AVERAGE(C5:C9)

  • Afterward, press the Enter or Tab keys to get 52 as output.
  • Thus, we obtain the mean of the scores as 52.

Use AVERAGE Function to Find Mean Average


Step 2: Subtract Mean to Determine Deviations

In the second step, we will take the mean obtained in the previous step and subtract it from each value of column C. That will thoroughly determine the Deviations in the scores. Follow the procedure below to see the demonstration.

  • To begin with, subtract in D5 using the formula

=C5-52

  • Next, pressing Enter key will display the output.

Subtract Mean to Determine Deviations

  • Later, hold the AutoFill tool and drag it down to get the other derivations.
  • Hence, the derivations pop up in the display.


Step 3: Calculate Squared Deviations

We will compute the squared derivations in the third step. Follow the below procedure again to do so.

  • First, in cell E5, type

=D5*D5

  • Further, press Enter.

Calculate Squared Deviations

  • After obtaining the output, drag the formula cell down using the AutoFill tool.
  • Thus, we obtain the squared derivations.


Step 4: Apply SUM Function to Get Sum of Squared Deviations

In the final step, we will use the SUM function to find the sum of squared derivations. The SUM function returns the summation of an array or range. Let’s see the given procedure.

  • In E13, type the following SUM formula,

=SUM(E5:E9)

  • Here, the SUM function returns 1480 as the sum of the range (E5:E9).

Apply SUM Function to Get Sum of Squared Deviations

Read More: How to Calculate Absolute Deviation in Excel (2 Useful Examples)


Method 2: Apply DEVSQ Function to Get Sum of Squared Deviations

Excel’s Statistical functions include the DEVSQ function. We compute the total squared deviations from the mean through this function. The DEVSQ function finds the total squared deviations from the mean. Therefore, in this method, we will apply the function to determine the sum of squared derivations. Follow the steps.

Steps:

  • Firstly, in cell C11, write the formula below.

=DEVSQ(C5:C9)

  • Afterward, press the Enter or Tab keys to obtain 1480 as output.

Apply DEVSQ Function to Get Sum of Squared Deviations

  • The range of the arguments is from 1 to 255. However, the DEVSQ function in Excel 2003 can only take 30 number inputs. Instead of the arguments, use a reference to an array, separated by commas.
  • Thus, we obtain the sum of squared derivations.

Conclusion

In conclusion, we have discussed some suitable ways to find the sum of squared deviations in Excel. Not to mention, our ExcelDemy website shows various simple problem-solving methods like this. Please leave any further queries or recommendations in the comment box below.


Related Articles

Yousuf Khan

Yousuf Khan

Hello! This is MD Yousuf Khan. I am a graduate & post-graduate in Information Technology from Jahangirnagar University, Bangladesh. Currently, I am writing articles for ExcelDemy. I am an independent, self-motivated person with enthusiasm to learn new things, and always try to do my best in any work assigned to me.

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo