{
  "function": "RANK.AVG",
  "software": "Gnumeric",
  "guide": "/gnumeric/functions/rank-avg/",
  "review_date": "2026-10-12",
  "scope": "Selected example checks, not certification of every formula, error, locale or cross-application import/export.",
  "native_engine": null,
  "native_assertions": 0,
  "native_observations": 0,
  "native_cases": [],
  "independent_model_cases": [
    {
      "software": "gnumeric",
      "function": "RANK.AVG",
      "case": "descending",
      "formula": "",
      "actual": [
        1.0,
        2.5,
        2.5,
        4.0,
        5.5,
        5.5
      ],
      "expected": [
        1,
        2.5,
        2.5,
        4,
        5.5,
        5.5
      ],
      "passed": true,
      "method": "Independent numeric rank model",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "RANK.AVG",
      "case": "descending row 2",
      "formula": "",
      "actual": 1.0,
      "expected": 1,
      "passed": true,
      "method": "Independent numeric rank model",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "RANK.AVG",
      "case": "descending row 3",
      "formula": "",
      "actual": 2.5,
      "expected": 2.5,
      "passed": true,
      "method": "Independent numeric rank model",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "RANK.AVG",
      "case": "descending row 4",
      "formula": "",
      "actual": 2.5,
      "expected": 2.5,
      "passed": true,
      "method": "Independent numeric rank model",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "RANK.AVG",
      "case": "descending row 5",
      "formula": "",
      "actual": 4.0,
      "expected": 4,
      "passed": true,
      "method": "Independent numeric rank model",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "RANK.AVG",
      "case": "descending row 6",
      "formula": "",
      "actual": 5.5,
      "expected": 5.5,
      "passed": true,
      "method": "Independent numeric rank model",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "RANK.AVG",
      "case": "descending row 7",
      "formula": "",
      "actual": 5.5,
      "expected": 5.5,
      "passed": true,
      "method": "Independent numeric rank model",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "RANK.AVG",
      "case": "ascending",
      "formula": "",
      "actual": [
        6.0,
        4.5,
        4.5,
        3.0,
        1.5,
        1.5
      ],
      "expected": [
        6,
        4.5,
        4.5,
        3,
        1.5,
        1.5
      ],
      "passed": true,
      "method": "Independent numeric rank model",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "RANK.AVG",
      "case": "ascending row 2",
      "formula": "",
      "actual": 6.0,
      "expected": 6,
      "passed": true,
      "method": "Independent numeric rank model",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "RANK.AVG",
      "case": "ascending row 3",
      "formula": "",
      "actual": 4.5,
      "expected": 4.5,
      "passed": true,
      "method": "Independent numeric rank model",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "RANK.AVG",
      "case": "ascending row 4",
      "formula": "",
      "actual": 4.5,
      "expected": 4.5,
      "passed": true,
      "method": "Independent numeric rank model",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "RANK.AVG",
      "case": "ascending row 5",
      "formula": "",
      "actual": 3.0,
      "expected": 3,
      "passed": true,
      "method": "Independent numeric rank model",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "RANK.AVG",
      "case": "ascending row 6",
      "formula": "",
      "actual": 1.5,
      "expected": 1.5,
      "passed": true,
      "method": "Independent numeric rank model",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "RANK.AVG",
      "case": "ascending row 7",
      "formula": "",
      "actual": 1.5,
      "expected": 1.5,
      "passed": true,
      "method": "Independent numeric rank model",
      "native_application": false
    }
  ],
  "documented_expected_results_not_native": true,
  "sources": [
    "https://gnome.pages.gitlab.gnome.org/gnumeric/manual/CATEGORY_Statistics.html#gnumeric-function-RANK.AVG",
    "https://gnome.pages.gitlab.gnome.org/gnumeric/manual/CATEGORY_Statistics.html",
    "https://gnome.pages.gitlab.gnome.org/gnumeric-web/functions.shtml",
    "https://github.com/GNOME/gnumeric/blob/master/plugins/fn-stat/functions.c",
    "https://download.gnome.org/sources/gnumeric/1.12/"
  ]
}
