Lookup and referenceMicrosoft 365 Insider Beta

ENTITY

Build a rich cell value with display text and fields of your own.

Syntax

=ENTITY(text, field_names, field_values, [field_names, field_values], ...)

Worked example

In a supported preview build, enter the formula in A2, then type =A2.Units in another cell to read the quantity stored with the batch name.

=ENTITY("Batch 17","Units",24)

Result A2 displays Batch 17. The field formula returns 24.

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor