.SetFields()
Create an updated entity by adding fields or replacing their values.
Syntax
=value.SetFields(field_name, field_value, [field_name, field_value], ...)Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceExcel Create Your Own Data Types With the new ENTITY Function - 2752
Practice .SetFields()
Suppose A2 contains a rich Excel entity. Set the field named "Units" to 30 using its dot method.
| A | B | |
|---|---|---|
| 1 | Entity | |
| 2 | Batch 17 |
Show example formula
=A2.SetFields("Units",30) Lesson quiz
Answer three questions to see your level in this lesson.
