OASIS Open Document Format for Office Applications (OpenDocument) TC

 View Only

Fwd: RE: Light ping on the Excel team response to Regina?

  • 1.  Fwd: RE: Light ping on the Excel team response to Regina?

    Posted 07-05-2026 21:01
    -------- Original Message --------
    Subject: RE: Light ping on the Excel team response to Regina?
    Date: 2026-07-05 19:17
    From: Rich McLain <richmc@microsoft.com>
    To: "patrick@durusau.net" <patrick@durusau.net>

    Hi Patrick - Yes, this is what I've received.

    The Excel and calc owners reviewed how TYPE() operates, specifically how
    it behaves with respect to new types. The consensus was that TYPE should
    return the fallback type for any rich value it is passed. If the
    fallback is an error, TYPE should return 128, which indicates a rich
    type that has no suitable fallback.

    Some background: in Excel, each rich type must identify a fallback type
    that very closely approximates the value and is acceptable when a
    function does not specifically understand that rich type. These fallback
    types are always one of the historic primitive types (number, boolean,
    text, or error). When a rich type has no suitable fallback type, we use
    an error fallback, which indicates a "complex or compound" value.
    By way of example, the image type in Excel has a #VALUE! fallback
    because there is no primitive type that can represent it. The same is
    true for lambda functions. On the other hand, Excel's new
    formatted-number-value type packages a number together with a format
    hint. In this case, the fallback is the underlying number itself. The
    format hint is used by General-formatted cells to provide a better
    number-formatting experience, so it is generally safe to represent the
    value by its fallback when used in a calculation.

    For formatted-number-values, TYPE should return 1, corresponding to the
    underlying fallback number. We currently have a bug in this area, so
    Excel does not yet behave this way, but we now have a work item to
    address it.

    In summary, =TYPE(SUM) should return 128 because SUM is an eta-reduced
    lambda value whose fallback is #VALUE!.

    Thanks,
    Rich

    -----Original Message-----
    From: patrick@durusau.net <patrick@durusau.net>
    Sent: Sunday, July 5, 2026 1:49 PM
    To: Rich McLain <richmc@microsoft.com>
    Subject: Light ping on the Excel team response to Regina?

    Rich,

    Hope you had a great holiday!

    Just a light ping to see if you have a note from the Excel team for
    Regina?

    Thanks!

    Patrick</richmc@microsoft.com></patrick@durusau.net></patrick@durusau.net></richmc@microsoft.com>