{
  "function": "PERCENTILE",
  "software": "Gnumeric",
  "guide": "/gnumeric/functions/percentile/",
  "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": "PERCENTILE",
      "case": "p=0",
      "formula": "=PERCENTILE(B2:B9,0)",
      "actual": 5,
      "expected": 5,
      "passed": true,
      "method": "Linear interpolation (inclusive method 7)",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "PERCENTILE",
      "case": "p=0.25",
      "formula": "=PERCENTILE(B2:B9,0.25)",
      "actual": 17.5,
      "expected": 17.5,
      "passed": true,
      "method": "Linear interpolation (inclusive method 7)",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "PERCENTILE",
      "case": "p=0.5",
      "formula": "=PERCENTILE(B2:B9,0.5)",
      "actual": 28.0,
      "expected": 28,
      "passed": true,
      "method": "Linear interpolation (inclusive method 7)",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "PERCENTILE",
      "case": "p=0.6",
      "formula": "=PERCENTILE(B2:B9,0.6)",
      "actual": 32.800000000000004,
      "expected": 32.8,
      "passed": true,
      "method": "Linear interpolation (inclusive method 7)",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "PERCENTILE",
      "case": "p=0.75",
      "formula": "=PERCENTILE(B2:B9,0.75)",
      "actual": 50.0,
      "expected": 50,
      "passed": true,
      "method": "Linear interpolation (inclusive method 7)",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "PERCENTILE",
      "case": "p=0.9",
      "formula": "=PERCENTILE(B2:B9,0.9)",
      "actual": 86.0,
      "expected": 86,
      "passed": true,
      "method": "Linear interpolation (inclusive method 7)",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "PERCENTILE",
      "case": "p=1",
      "formula": "=PERCENTILE(B2:B9,1)",
      "actual": 100,
      "expected": 100,
      "passed": true,
      "method": "Linear interpolation (inclusive method 7)",
      "native_application": false
    },
    {
      "software": "gnumeric",
      "function": "PERCENTILE",
      "case": "exclusive comparison",
      "formula": "",
      "actual": 12.5,
      "expected": 12.5,
      "passed": true,
      "method": "Linear interpolation (exclusive method 6)",
      "native_application": false
    }
  ],
  "documented_expected_results_not_native": true,
  "sources": [
    "https://gnome.pages.gitlab.gnome.org/gnumeric/manual/CATEGORY_Statistics.html#gnumeric-function-PERCENTILE",
    "https://gnome.pages.gitlab.gnome.org/gnumeric/manual/CATEGORY_Statistics.html",
    "https://gnome.pages.gitlab.gnome.org/gnumeric-web/functions.shtml",
    "https://gnome.pages.gitlab.gnome.org/gnumeric/manual/sect-data-types.html",
    "https://gnome.pages.gitlab.gnome.org/gnumeric/manual/sect-configuration-localization.html",
    "https://support.microsoft.com/en-us/excel/functions/percentile-inc-function",
    "https://gnome.pages.gitlab.gnome.org/gnumeric-web/announcements/1.12/gnumeric-1.12.62.html"
  ]
}
