Contact

FIELDVALUE in Excel: Select a Linked Record Field by Name

Lookup and Reference Intermediate Microsoft Excel

Extract a field from an existing linked data type, drive field selection from a header cell, and diagnose missing-field errors without hiding them.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

FIELDVALUE extracts named field data from a linked data-type value, such as an existing Stocks or Geography record. Its useful distinction is that the field name can come from another cell. That lets one formula switch between approved fields without rewriting the expression each time. It does not turn an ordinary city name or ticker text into a linked record.

Syntax and prerequisites

=FIELDVALUE(value, field_name)

Provide the linked value and the field name to extract. The reference supports matching fields and permits worksheet references for field names. For a fixed field, direct data-type reference syntax may be simpler; FIELDVALUE is especially useful when the selected field changes. Microsoft’s function reference

Start with an already available supported linked data type. Microsoft’s linked-data formula guide limits Stocks and Geography to Worldwide Multi-Tenant clients, described as standard Microsoft 365 accounts; a different account environment should not be presumed eligible. A typed label is not equivalent to the enriched record behind that label. Before building a report, inspect the available fields and the identity of the record. Two similarly named places can refer to different administrative areas; a correctly written extraction can still answer the wrong geographic question if the source record is wrong.

Conditional example: city and population

Assume A2 already contains a supported linked record for a fictional place called Alderford. Stipulate these fields solely for this teaching example:

Field identifier Declared field value
City Alderford
Population 12500

This is a description of a hypothetical linked record, not instructions for constructing one by typing that table. No data-type conversion, account sign-in, lookup or refresh was performed.

The proposed expression is:

=FIELDVALUE(A2,"City")

If A2 is genuinely the stipulated supported record and extraction succeeds, the expected text is Alderford. To select the field from B1 instead, place City there and use:

=FIELDVALUE(A2,B1)

Changing B1 to Population would conditionally return the stipulated numeric value 12500. The field selector changes what is extracted from the same record. It does not select a new place. Because text and numeric fields have different meanings, update the output heading and formatting together with the selection.

Advanced design: a reusable extraction grid

Suppose a worksheet has linked records in A2 downward and field identifiers across row 1. This mixed-reference pattern can be copied across and down:

=FIELDVALUE($A2,B$1)

The source-record column stays fixed; the selected field follows the column. Before filling the grid, decide which records share those fields. A property that exists for one record category may not exist for another. A field-selector list should come from verified field names, not from a user-facing label that merely sounds plausible.

For presentation, a separate guarded version could be:

=IFERROR(FIELDVALUE($A2,B$1),"Check record or field")

This makes the failure visible in plain language. It does not tell you why extraction failed. Keep an unwrapped diagnostic cell while designing the report; a blank fallback can otherwise make unsupported data look like an intentional blank. IFERROR describes the wrapper’s general behavior.

When combining Population with arithmetic, preserve what population means: the record’s area, reference date and unit matter. The illustrative value 12500 is not current data for a real location. A result can be a valid number yet unsuitable for comparison with a different area’s figure or a different date. Do not infer matching definitions merely because two records expose a field with the same name.

Missing fields and wrong value types

A nonexistent field produces documented #FIELD!. For the toy record, requesting Residents instead of its stipulated Population field is such a condition. Microsoft also documents this error when a referenced cell does not contain the appropriate linked data type, a field is unavailable or inapplicable, or its format cannot be read. FIELDVALUE remarks, Microsoft’s #FIELD! guide

Investigate in this order:

  1. Confirm the source cell still holds a linked record rather than pasted display text.
  2. Check that it identifies the intended entity.
  3. Inspect the record’s actual fields and exact field name.
  4. Distinguish a missing field from an unavailable service or unsupported data source.
  5. Reapply presentation handling only after the underlying issue is understood.

The dedicated page mentions Alt+Shift+F10 for viewing field names. Keyboard behavior depends on the client; the record’s available-field interface is the relevant evidence. Microsoft’s data-type formula guide explains direct field references and field discovery. For ordinary worksheet tables rather than linked data types, consider XLOOKUP instead; the data source and formula contract are different.

Availability and verification

The dedicated reference checked October 18, 2026 lists Excel for Microsoft 365 on Windows and Mac and Excel Web App. Its March 28, 2019 note concerns a Windows subscriber data-type rollout; it does not establish FIELDVALUE’s first introduction date. First introduction and last functioning build remain unknown. The availability of a particular linked data source must be checked separately; this guide does not promise every historical data type still works.

All examples are hypothetical and unexecuted. No Excel application, populated linked record or live service result was observed, and no native screenshot is supplied.

Official FIELDVALUE reference.