{
  "name": "Excel features for building a correlation matrix, as documented by Microsoft",
  "description": "Compares the Excel tools and functions used to build and display a correlation matrix: what each returns, where it is found and the documented error or tie behaviour. Compiled from Microsoft Support pages for Excel.",
  "page": "https://casrai.org/guides/correlation-matrix-in-excel",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-14T21:48:38Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Excel feature",
      "unit": "",
      "description": ""
    },
    {
      "name": "What it returns",
      "unit": "",
      "description": ""
    },
    {
      "name": "Where it is found or its syntax",
      "unit": "",
      "description": ""
    },
    {
      "name": "Documented behaviour to know",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Excel feature": "Correlation (Analysis ToolPak)",
      "What it returns": "Matrix of CORREL (or PEARSON) values for every pair of variables",
      "Where it is found or its syntax": "Data tab, Data Analysis",
      "Documented behaviour to know": "Recommended for more than two measurement variables"
    },
    {
      "Excel feature": "Covariance (Analysis ToolPak)",
      "What it returns": "Matrix of COVARIANCE.P values for every pair of variables",
      "Where it is found or its syntax": "Data tab, Data Analysis",
      "Documented behaviour to know": "Diagonal holds the population variance of each variable"
    },
    {
      "Excel feature": "CORREL function",
      "What it returns": "Correlation coefficient of two ranges",
      "Where it is found or its syntax": "CORREL(array1, array2)",
      "Documented behaviour to know": "#N/A if different number of data points; #DIV/0! if an array is empty or its standard deviation is zero; text, logical and empty cells ignored, zeros included"
    },
    {
      "Excel feature": "RANK.AVG function",
      "What it returns": "Rank of a number in a list",
      "Where it is found or its syntax": "RANK.AVG(number, ref, [order])",
      "Documented behaviour to know": "Average rank returned when more than one value has the same rank; nonnumeric values in ref ignored"
    },
    {
      "Excel feature": "Color Scales (conditional formatting)",
      "What it returns": "Colour-coded cells",
      "Where it is found or its syntax": "Home tab, Styles, Conditional Formatting, Color Scales",
      "Documented behaviour to know": "Choose a two-colour or three-colour scale; the top colour applies to higher values"
    }
  ],
  "sources": [
    {
      "title": "Use the Analysis ToolPak to perform complex data analysis",
      "url": "https://support.microsoft.com/en-us/office/use-the-analysis-toolpak-to-perform-complex-data-analysis-6c67ccf0-f4a9-487c-8dec-bdb5a2cefab6",
      "accessed": "2026-11-14"
    },
    {
      "title": "CORREL function",
      "url": "https://support.microsoft.com/en-us/office/correl-function-995dcef7-0c0a-4bed-a3fb-239d7b68ca92",
      "accessed": "2026-11-14"
    },
    {
      "title": "RANK.AVG function",
      "url": "https://support.microsoft.com/en-US/excel/functions/rank-avg-function",
      "accessed": "2026-11-14"
    },
    {
      "title": "Use conditional formatting to highlight information",
      "url": "https://support.microsoft.com/en-us/office/use-conditional-formatting-to-highlight-information-fed60dfa-1d3f-4e13-9ecb-f1951ff89d7f",
      "accessed": "2026-11-14"
    }
  ]
}