{
  "category": "Lookup and reference functions",
  "display_name": "HAS",
  "entry_kind": "built_in_function",
  "eval_api": {
    "method": "POST",
    "url": "https://handbook.dnacalc.com/api/eval"
  },
  "function_id": "FUNC.HAS",
  "implementation_state": {
    "answer_bank": null,
    "detail": "Listed by Microsoft for lists and arrays in cells; no catalogue row yet.",
    "dnacalc_commit": "9e1884369a678158dd82d3d74188daf986995e87",
    "in_catalogue": false,
    "state": "refuses",
    "state_label": "Refuses or not implemented",
    "summary": "Not yet implemented",
    "workbook_corpus": null
  },
  "implementations": [],
  "json_url": "https://handbook.dnacalc.com/api/functions/FUNC.HAS.json",
  "name": "HAS",
  "notes": [],
  "schema": "efh.function-reference/v1",
  "section_order": [
    "what-it-does",
    "try-it",
    "quirks",
    "how-to-implement",
    "version-differences",
    "alternatives"
  ],
  "sections": {
    "alternatives": "\n- `HASANY` and `HASALL` for several values.\n- `COUNTIF` or `XMATCH` on ordinary ranges.\n\n\n",
    "how-to-implement": "\nNo implementation exists yet. It needs arrays held in a single cell and nested arrays, which DNA Calc's value model does not\nhave, then the search or flattening rule on top. Exact matching rules should be measured in Excel first.\n\n\n",
    "quirks": "\nMicrosoft's page does not state its matching rules in detail, and no reading is recorded here.\n\n\n",
    "sources": "\n- [HAS function](https://support.microsoft.com/en-us/excel/functions/has-function)\n- [What's New in Excel (September 2026)](https://techcommunity.microsoft.com/blog/excelblog/whats-new-in-excel-september-2026/4549755)\n\n",
    "version-differences": "\nMicrosoft announced it in September 2026 for Insiders on Windows and Mac, with lists and arrays in cells. Its page lists\nExcel for Microsoft 365 on Windows and Mac. No Excel answers for this function are recorded here, so no comparison between Excel builds exists.\n\n\n",
    "what-it-does": "\n`HAS` tests whether a value is in an array or range, returning TRUE or FALSE.\n\n`HAS(array, value)`\n\nNested levels are searched too.\n\n\n"
  },
  "signature": {
    "display": "HAS(array, value)",
    "parameters": [
      {
        "description": null,
        "name": "array",
        "optional": false,
        "repeats": false
      },
      {
        "description": null,
        "name": "value",
        "optional": false,
        "repeats": false
      }
    ],
    "trailing_repeats": false
  },
  "sources": {
    "metadata": {
      "admission": {
        "label": "not_implemented",
        "reason": "Listed by Microsoft for lists and arrays in cells; no catalogue row yet."
      },
      "arity": {
        "max": 2,
        "min": 2
      },
      "category": "Lookup and reference functions",
      "classification": {},
      "descriptions": {
        "long": null,
        "short": "Whether a value appears in an array",
        "short_source": "dna-calc-own"
      },
      "docs": {
        "english_description": null,
        "microsoft_url": "https://support.microsoft.com/en-us/excel/functions/has-function"
      },
      "entry_kind": "built_in_function",
      "localized_family_names": null,
      "localized_names": [],
      "signature": {
        "display": "HAS(array, value)",
        "parameters": [
          {
            "description": null,
            "name": "array",
            "optional": false,
            "repeats": false
          },
          {
            "description": null,
            "name": "value",
            "optional": false,
            "repeats": false
          }
        ],
        "trailing_repeats": false
      },
      "surface_name": "HAS",
      "version_marker": null,
      "xlcall": null
    },
    "microsoft": "https://support.microsoft.com/en-us/excel/functions/has-function"
  },
  "try_it": {
    "formula": "=HAS({1,2,3},2)",
    "note": "The OneCalc preview has no answer for this function: see the state above.",
    "preview_status": "worksheet-error"
  },
  "url": "https://handbook.dnacalc.com/functions/HAS.html",
  "variants": [],
  "versions": []
}