Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to sum a total in multiple Excel tables
  • How to calculate current stock or inventory in Excel
  • Reverse List in Excel
  • Conditional Formatting Rules in Excel
  • How to Create Column Chart in Excel

References

  • Offset in Excel
  • How to use Excel OFFSET function
  • How to retrieve first match between two ranges in Excel
  • Find closest match in Excel
  • To count total rows in a range in Excel

Data Validations

  • Excel Data validation specific characters only
  • How To Create Drop-down List in Excel
  • Excel Data validation allow weekday only
  • Data validation must not exist in list
  • Excel Data validation number multiple 100

DEVSQ function: Description, Usage, Syntax, Examples and Explanation

by

What is DEVSQ function in Excel?

DEVSQ function is one of Statistical functions in Microsoft Excel that returns the sum of squares of deviations of data points from their sample mean.

Syntax of DEVSQ function

DEVSQ(number1, [number2], …)

The DEVSQ function syntax has the following arguments:

  • Number1, number2, …    Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want to calculate the sum of squared deviations. You can also use a single array or a reference to an array instead of arguments separated by commas.

DEVSQ formula explanation

  • Arguments can either be numbers or names, arrays, or references that contain numbers.
  • Logical values and text representations of numbers that you type directly into the list of arguments are counted.
  • If an array or reference argument contains text, logical values, or empty cells, those values are ignored; however, cells with the value zero are included.
  • Arguments that are error values or text that cannot be translated into numbers cause errors.
  • The equation for the sum of squared deviations is:equation

Example of DEVSQ function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Data
4
5
8
7
11
4
3
Formula Description Result
=DEVSQ(A2:A8) Sum of squares of deviations of data above from their sample mean. 48

Post navigation

Previous Post:

CUBEVALUE function: Description, Usage, Syntax, Examples and Explanation

Next Post:

CLEAN function: Description, Usage, Syntax, Examples and Explanation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Complete List of Excel Logical Functions, References and Examples
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel AND Function
  • Return blank if in Excel

Date Time

  • Calculate time difference in hours as decimal value in Excel
  • ISOWEEKNUM function: Description, Usage, Syntax, Examples and Explanation
  • DATEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • Get month from date in Excel
  • Convert decimal seconds to Excel time

Grouping

  • Calculate conditional mode with criteria in Excel
  • Group times into 3 hour buckets in Excel
  • Group numbers at uneven intervals in Excel
  • Map inputs to arbitrary values in Excel
  • Categorize text with keywords in Excel

General

  • How to password protect excel sheet?
  • How to fill cell ranges with random number from fixed set of options in Excel
  • Subtotal by color in Excel
  • Count cells that contain errors in Excel
  • How to get Excel workbook path only
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning