/oss · 2 merged

PHPOffice/PhpSpreadsheet

A PHP library for reading and writing spreadsheet files like Excel.

the project on GitHub (opens in a new tab)
  1. 25 Nov 2026

    Exact lookups no longer match empty cells

    What was broken
    VLOOKUP and HLOOKUP with an exact match treated an empty cell as a match for an empty lookup value, returning a result where Excel gives #N/A.
    What I changed
    An exact match now skips empty cells, the same way MATCH already did, for both lookups.
    Why it matters
    Spreadsheets with blank rows give the same lookup results as in Excel.

    see the code, #5096 (opens in a new tab)

  2. 13 Nov 2026

    XLOOKUP returns a real #N/A when nothing matches

    What was broken
    When XLOOKUP found nothing, it returned the text "#N/A!" instead of the error. ISNA and IFNA did not see it as an error.
    What I changed
    It now returns the real #N/A error, as Excel does.
    Why it matters
    Formulas that catch a missing lookup with IFNA or ISNA work the same as in Excel.

    see the code, #5095 (opens in a new tab)

← every project