/oss · 4 merged

dgorissen/pycel

A Python library that turns Excel spreadsheets into Python code and works out their formulas.

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

    Sums over OFFSET and INDIRECT ranges work

    What was broken
    SUM, AVERAGE, MAX and most other functions over an OFFSET or INDIRECT range quietly returned 0, and some raised an error.
    What I changed
    Those ranges are now resolved before such functions use them.
    Why it matters
    Spreadsheets that build ranges this way calculate the same results as Excel.

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

  2. 18 Nov 2026

    Numbers joined into text match Excel

    What was broken
    Joining a number into text gave long results like Total: 0.30000000000000004, where Excel shows Total: 0.3.
    What I changed
    Numbers turned into text are now rounded to 15 digits, as Excel does.
    Why it matters
    Labels and text built from formulas look the same as in Excel.

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

  3. 15 Nov 2026

    Text numbers with commas, percent or dollar signs are read

    What was broken
    Turning text like 1,234.50, 12% or $12.50 into a number gave an error, though Excel reads all three. The error then spread into any total.
    What I changed
    Those common formats are now read as numbers the way Excel reads them.
    Why it matters
    Sheets built on imported or pasted text numbers give the right totals.

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

  4. 15 Nov 2026

    Weekday formulas with a start-of-week option work

    What was broken
    Weekday formulas that count Monday as day one, the usual form in timesheets, crashed instead of giving a result.
    What I changed
    The weekday function now accepts every start-of-week option Excel supports, and gives Excel's error for unknown ones.
    Why it matters
    Timesheet and schedule spreadsheets calculate the same as in Excel.

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

← every project