How to Use the COVAR Function in Excel

The COVAR function is a statistical tool used in both Excel and Google Sheets to compute the covariance between two sets of values. Covariance gauges the extent to which two variables fluctuate in unison. If the covariance is positive, it indicates that the variables generally move in the same direction, whereas a negative covariance suggests that they move in opposite directions.

Syntax:

The syntax for the COVAR function is consistent across both Excel and Google Sheets:

=COVAR(array1, array2)

Parameters:

  • array1: The first set of values.
  • array2: The second set of values. It is crucial that both arrays contain an identical count of data points.

Examples:

To illustrate the use of the COVAR function, consider the following two data sets:

X 5 10 15 20 25
Y 3 7 12 18 22

In this example, we seek to determine the covariance between sets X and Y:

=COVAR(B2:B6, C2:C6)

Here, B2:B6 denotes array1 (X values), and C2:C6 indicates array2 (Y values).

The resulting calculation will reveal the degree to which these datasets vary together.

Use case:

The COVAR function is especially useful in financial analysis to evaluate the relationship between the returns of different securities. If two assets have a positive covariance, they are likely to move in the same direction, which may indicate a lack of diversification. Conversely, a negative covariance between assets suggests a diversification benefit.

By utilizing the COVAR function to determine covariance, investors and analysts can gain insights into the risk characteristics of their portfolios, enabling them to make more strategic decisions regarding asset diversification.

More information: https://support.microsoft.com/en-us/office/covar-function-50479552-2c03-4daf-bd71-a5ab88b2db03

Other functions
Returns the beta cumulative distribution function
Vrátí hodnotu součtového rozdělení beta
Returns the inverse of the cumulative distribution function for a specified beta distribution
Vrátí inverzní hodnotu součtového rozdělení pro zadané rozdělení beta
Gibt die Werte der kumulierten Betaverteilungsfunktion zurück
Returns the individual term binomial distribution probability
Vrátí hodnotu binomického rozdělení pravděpodobnosti jednotlivých veličin
Gibt Wahrscheinlichkeiten einer binominalverteilten Zufallsvariablen zurück
Returns the one-tailed probability of the chi-squared distribution
Vrátí jednostrannou pravděpodobnost rozdělení chí-kvadrát
Returns the inverse of the one-tailed probability of the chi-squared distribution
Vrátí hodnotu funkce inverzní k distribuční funkci jednostranné pravděpodobnosti rozdělení chí-kvadrát
Returns the test for independence
Vrátí test nezávislosti
Returns the confidence interval for a population mean
Vrátí interval spolehlivosti pro střední hodnotu základního souboru
Vrátí hodnotu kovariance, průměrnou hodnotu součinů párových odchylek
Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value
Vrátí nejmenší hodnotu, pro kterou má součtové binomické rozdělení hodnotu větší nebo rovnu hodnotě kritéria
Returns the exponential distribution
Vrátí hodnotu exponenciálního rozdělení
Returns the F probability distribution
Vrátí hodnotu rozdělení pravděpodobnosti F
Rounds a number down, toward zero
Returns the result of an F-test
Vrátí výsledek F-testu
Vrátí hodnotu Studentova t-rozdělení
Returns the gamma distribution
Vrátí hodnotu rozdělení gama
Returns the inverse of the gamma cumulative distribution
Vrátí hodnotu inverzní funkce k distribuční funkci součtového rozdělení gama
Returns the hypergeometric distribution
Vrátí hodnotu hypergeometrického rozdělení
Returns the inverse of the lognormal cumulative distribution
Returns the cumulative lognormal distribution
Returns the most common value in a data set
Vrátí hodnotu, která se v množině dat vyskytuje nejčastěji
Returns the negative binomial distribution
Vrátí hodnotu negativního binomického rozdělení
Returns the inverse of the normal cumulative distribution
Vrátí inverzní funkci k funkci normálního součtového rozdělení
Returns the normal cumulative distribution
Vrátí hodnotu normálního součtového rozdělení
Returns the standard normal cumulative distribution
Vrátí hodnotu standardního normálního součtového rozdělení
Returns the inverse of the standard normal cumulative distribution
Vrátí inverzní funkci k funkci standardního normálního součtového rozdělení
Vrátí hodnotu k-tého percentilu hodnot v oblasti
Returns the k-th percentile of values in a range
Returns the percentage rank of a value in a data set
Vrátí pořadí hodnoty v množině dat vyjádřené procentuální částí množiny dat
Returns the Poisson distribution
Vrátí hodnotu distribuční funkce Poissonova rozdělení
Vrátí hodnotu kvartilu množiny dat
Returns the quartile of a data set
Returns the rank of a number in a list of numbers
Vrátí pořadí čísla v seznamu čísel
Vypočte směrodatnou odchylku základního souboru
Vypočte směrodatnou odchylku výběru
Estimates standard deviation based on a sample
Calculates standard deviation based on the entire population
Returns the Student's t-distribution
Returns the inverse of the Student's t-distribution
Vrátí inverzní funkci k distribuční funkci Studentova t-rozdělení
Returns the probability associated with a Student's t-test
Vrátí pravděpodobnost spojenou se Studentovým t-testem
Estimates variance based on a sample
Vypočte rozptyl základního souboru
Vypočte rozptyl výběru
Calculates variance based on the entire population
Calculates variance based on the entire population, including numbers, text, and logical values
Vypočte rozptyl základního souboru včetně čísel, textu a logických hodnot
Zaokrouhlí číslo dolů, směrem k nule
Vrátí jednostrannou hodnotu pravděpodobnosti z-testu
Returns the one-tailed probability-value of a z-test