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

Data Analysis

  • Example of COUNTIFS with variable table column in Excel
  • How to Sort by Color in Excel
  • How to calculate current stock or inventory in Excel
  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • How To Filter Data in Excel

References

  • Convert text string to valid reference in Excel using Indirect function
  • Perform case-sensitive Lookup in Excel
  • How to get relative row numbers in a range in Excel
  • How to get last row in mixed data with blanks in Excel
  • Extract all partial matches in Excel

Data Validations

  • Excel Data validation date in next 30 days
  • Excel Data validation must not contain
  • Excel Data validation no punctuation
  • Excel Data validation whole percentage only
  • Excel Data validation with conditional list

COVARIANCE.S function: Description, Usage, Syntax, Examples and Explanation

by

What is COVARIANCE.S function in Excel?

COVARIANCE.S function is one of Statistical functions in Microsoft Excel that returns the sample covariance, the average of the products of deviations for each data point pair in two data sets.

Syntax of COVARIANCE.S function

COVARIANCE.S(array1,array2)

The COVARIANCE.S function syntax has the following arguments:

  • Array1     Required. The first cell range of integers.
  • Array2     Required. The second cell range of integers.

COVARIANCE.S formula explanation

  • The arguments must either be numbers or be names, arrays, or references that contain numbers.
  • 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.
  • If array1 and array2 have different numbers of data points, COVARIANCE.S returns the #N/A error value.
  • If either array1 or array2 is empty or contains only 1 data point each, COVARIANCE.S returns the #DIV/0! error value.

Example of COVARIANCE.S 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.

Formula Description Result
=COVARIANCE.S({2,4,8},{5,11,12}) Sample covariance for the data points entered as an array in the function. 9.666666667
2 5
4 11
8 12
Formula Description Result
=COVARIANCE.S(A3:A5,B3:B5) Sample covariance for the identical data points, but entered as cell ranges in the function. 9.666666667

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

  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • Excel If, Nested If, And/Or Criteria Examples

Date Time

  • Convert date to text in Excel
  • Get fiscal year from date in Excel
  • YEARFRAC function: Description, Usage, Syntax, Examples and Explanation
  • Add days exclude certain days of week in Excel
  • HOUR function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Group times into 3 hour buckets in Excel
  • If cell contains one of many things in Excel
  • Group arbitrary text values in Excel
  • Group times into unequal buckets in Excel
  • Running count group by n size in Excel

General

  • Select, Insert, Rename, Move, Delete Worksheets in Excel
  • Sum by group in Excel
  • How to get random value from list or table in Excel
  • How to get original price from percentage discount in Excel
  • Basic numeric sort formula in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning