Excel Previews Custom Data Types That Treat Products and Employees as Single Values
On December 1, 2026, in the U.S., Microsoft announced the new Excel data types and functions it had demonstrated at the Microsoft Excel World Championship. On September 24 in the U.S., it had previewed a feature that stores lists and arrays inside cells.
According to Microsoft's overview, a product or project can be passed to a formula as a single value containing several attributes. Excel calls a value with display text and named fields an entity. The cell displays the text you specify, and opening the card reveals the fields and their values.
Existing linked data types such as Stocks and Geography are also entities. With the new feature, users can create their own entities from information in cells or tables.
Suppose B2 contains a product name, C2 its price, and D2 its supplier. Entering =ENTITY(B2,"Price",C2,"Supplier",D2) creates a value that displays the product name from B2 and stores the price and supplier. If that value is in A2, =A2.Price retrieves the price. To retrieve the product name from a field as well, define a product name field in addition to the display text.
Fields can hold numbers, text, Boolean values, arrays, images, and other entities. If you store the supplier as an entity with a Region field, you can retrieve that supplier's region with =A2.Supplier.Region.
This is similar to a record or struct in programming, a data type that groups multiple named values. You can pass a value representing a product to a formula and retrieve the fields you need inside that formula.
Each table row can become a single value
With Excel's new structured reference syntax, a table named Products can use =Products[#Entities] to convert each data row into an entity. The value in the first column appears in the cell, and every column header, including the first, becomes a field name. Edits to the source table and newly added rows are reflected in the resulting entities.
Excel preview: Entities (values with fields)
| Comparison | ENTITY function | [#Entities] |
|---|---|---|
| Source | Cells, ranges, and more | Table |
| Creates | One from specified fields | One per data row |
| Cell display | Specified text | First-column value |
| Fields | Specified names and values | All column names and values |
| Field references | =A2.Price (price) | |
| Nested reference | =A2.Supplier.Region(supplier's region) | |
When a column header changes, so does its field name. Formulas that still reference the old field name return a #FIELD! error.
Field names can be up to 255 characters long and are case-insensitive. Names containing spaces are enclosed in brackets, as in =A2.[Start date].
A reference such as A2.Price tells readers from the formula alone that it retrieves a price. Formulas can use both cell positions and attribute names for different purposes.
Changing a value leaves the original intact
There are 11 new functions, nine of which are dot functions. Typing a period after a value brings up suggestions for functions that apply to it.
Use .SetFields() to add fields or change their values, .RemoveFields() to remove fields, and .SetEntityText() to change the display text. Use .GetFields() to retrieve field names and values, .GetFieldNames() to retrieve names, and .GetFieldValues() to retrieve values. .HasField() checks whether a field exists.
Dot functions that modify a value return a new one while preserving the original. Excel evaluates chained dot functions from left to right. For example, =A2.SetFields("Price",C3).SetEntityText(B3) creates an entity based on A2, sets its price to the value in C3, and changes its display text to the text in B3.
In its SetFields documentation, Microsoft explains that only the specified fields are updated. If an entity stores both a Price and a Total calculated from that price, changing only Price leaves Total at its previous value. To update the total too, rebuild the value using the new inputs.
Entity fields store values, including the results of formulas. When a source cell referenced by ENTITY changes, Excel updates the entity itself. When you change part of a generated value with .SetFields(), only the specified fields change. If the data includes prices or totals, the formulas also need to specify which values to recalculate.
Excel preview: What data survives edits and calculations
| Operation | Original value | New value |
|---|---|---|
| .SetFields Change only the price | Unchanged | Price updated Original total retained |
| .RemoveFields Remove a field | Field remains | Specified field omitted |
| .SetFields Attach metadata to a number | Number | Number with metadata Usable in calculations |
| With metadata Add numbers | Metadata retained | Number only No metadata |
| Set a number format on the value | Number | Number with a format |
| With a format Add numbers | Number format retained | Number only No number format |
Removing a field with .RemoveFields() leaves the information in its source cells or table. If you're sharing a workbook and want to remove sensitive information, check the source data as well.
Numbers can carry additional information
Along with creating entities, you can add metadata, or information attached to a value, to numbers, text, and Boolean values. For example, you can attach a supplier or quote date to a product price and still use the price as a number in calculations.
According to Microsoft's explainer on data types and dot functions, arithmetic operations such as addition produce results that don't inherit the original fields. To carry the information forward, use .GetFieldNames() and .GetFieldValues() to retrieve the original names and values, then use .SetFields() to attach them to the result.
Attaching a single supplier's quote date to a total calculated from several quotes could give the wrong impression about where that total came from. The ability to retain information on a calculation result makes it important to consider exactly what that information describes.
You can set a number format on the cell and on the value itself. FORMATNUMBER and .SetNumberFormat() attach a format to a number, which appears in that format if the cell uses General. A different format set on the cell takes precedence. Arithmetic results don't inherit the value's number format. .SetIcon() lets you specify an icon to display with the value.
What formulas can take as inputs
The new entities work with custom functions defined using LAMBDA, and with MAP, REDUCE, FILTER, and SORTBY. For example, =FILTER(A2#,A2#.HasField("Discount")) filters the entities spilled from A2 across multiple cells to those with a Discount field.
A formula working with product data that has consistent fields can take the entire entity as an input without passing each field separately. Checking for required fields with .HasField() also makes it easier to handle values with different sets of fields.
Microsoft is gradually rolling out the features to the Microsoft 365 Insider Beta Channel on Windows starting with Version 2612 (Build 20715.20000), on Mac starting with Version 16.117 (Build 26111815), and to Excel for the web. It says older versions of Excel may display the new values but don't support dot functions. Check that collaborators' versions of Excel support the features before using them in a shared workbook.
Some work that once meant tracking cell addresses and ranges can now be expressed in terms of products and employees. References such as Price and Supplier.Region can make it easier for the next person reading a formula to understand what it was written to calculate.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.
